/* =========================================================
   ProMaker - style.css
   Renkler: Lacivert / Gri / Turuncu (aksiyon)
   ========================================================= */

:root {
  --navy-900: #070f24;
  --navy-800: #0b1734;
  --navy-700: #12224a;
  --navy-600: #1b2f61;
  --gray-50:  #f5f7fb;
  --gray-100: #eceff5;
  --gray-300: #c9cfdc;
  --gray-500: #6f7990;
  --gray-700: #444d63;
  --accent:   #ff7a1a;
  --accent-2: #ff9d4d;
  --accent-dark: #e8630a;
  --blue:     #2fb4ff;
  --white:    #ffffff;
  --wa:       #25d366;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(7, 15, 36, .08);
  --shadow:    0 14px 40px rgba(7, 15, 36, .14);
  --shadow-lg: 0 24px 60px rgba(7, 15, 36, .22);
  --header-h:  84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--navy-800); line-height: 1.2; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.no-scroll { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(255, 122, 26, .35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue), #1a8fe0);
  box-shadow: 0 14px 30px rgba(47, 180, 255, .4);
  transform: scale(1.06);
}
.btn--primary i { transition: transform .3s var(--ease); }
.btn--primary:hover i { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--light { background: var(--white); color: var(--navy-800); border-color: var(--white); }
.btn--light:hover { background: var(--gray-100); border-color: var(--gray-100); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; padding: 15px; }
.link-btn { background: none; border: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.link-btn:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 23, 52, .06);
  transition: box-shadow .35s, height .35s;
}
.header.scrolled { box-shadow: 0 8px 28px rgba(7, 15, 36, .12); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 58px; width: auto; transition: transform .3s var(--ease); }
.logo:hover .logo__img { transform: scale(1.03); }

.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative; display: block; padding: 10px 16px;
  color: var(--navy-700); font-weight: 600; font-size: .95rem;
  border-radius: 999px; transition: color .3s, background .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
  background: var(--accent); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--accent-dark); }
.nav__link:hover::after, .nav__link.active::after { width: 22px; }

.hamburger {
  display: none; width: 46px; height: 46px; border: none; border-radius: 12px;
  background: var(--navy-800); cursor: pointer; position: relative; z-index: 1101;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(7,15,36,.55); z-index: 999;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 50px) 0 90px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(47,180,255,.22), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(255,122,26,.2), transparent 45%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .1;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
  font-size: .85rem; font-weight: 500; color: var(--white);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}
.hero__badge i { color: var(--accent); }
.hero__title {
  color: var(--white); font-weight: 800;
  font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -1px; margin-bottom: 22px;
  animation: fadeUp .9s var(--ease) both;
}
.hero__text {
  color: var(--gray-300); font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 560px; margin-bottom: 36px;
  animation: fadeUp .9s .15s var(--ease) both;
}
.hero .btn { animation: fadeUp .9s .3s var(--ease) both; }

.hero__media { position: relative; min-height: 440px; animation: fadeUp 1s .2s var(--ease) both; }
.hero__img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.12); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { top: 0; right: 0; width: 88%; aspect-ratio: 4 / 3; }
.hero__img--sub { bottom: 0; left: 0; width: 56%; aspect-ratio: 16 / 10; border-color: var(--accent); animation: float 6s ease-in-out infinite; }
.hero__chip {
  position: absolute; top: 18px; left: 4%; display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--navy-800);
  font-size: .9rem; box-shadow: var(--shadow);
}
.hero__chip i { color: var(--accent); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; z-index: 2; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); border: 1px solid rgba(255,255,255,.3);
  animation: bounce 2s infinite;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent-dark); background: rgba(255,122,26,.12);
}
.section__tag--light { color: var(--accent-2); background: rgba(255,122,26,.18); }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.section__desc { color: var(--gray-500); font-size: 1.05rem; }
.sub-title { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 90px 0 36px; position: relative; }
.sub-title::after { content: ''; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--accent); margin: 14px auto 0; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-700); }
.card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,15,36,.45)); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { position: relative; padding: 48px 24px 28px; flex: 1; }
.card__icon {
  position: absolute; top: -36px; left: 22px; width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center; padding: 10px;
  background: var(--white); box-shadow: 0 10px 24px rgba(7,15,36,.18); border: 2px solid var(--gray-100);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card__icon img { width: 100%; height: 100%; object-fit: contain; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); border-color: var(--accent); box-shadow: 0 12px 28px rgba(255,122,26,.3); }
.card__title { font-size: 1.2rem; margin-bottom: 10px; }
.card__text { font-size: .95rem; color: var(--gray-500); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; isolation: isolate; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__media::before {
  content: ''; position: absolute; inset: -18px auto auto -18px; width: 120px; height: 120px;
  border-radius: var(--radius); z-index: -1;
  background: repeating-linear-gradient(45deg, var(--accent) 0 2px, transparent 2px 10px); opacity: .35;
}
.about__stat {
  position: absolute; right: -16px; bottom: -22px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: var(--radius); background: var(--navy-800); color: var(--white);
  box-shadow: var(--shadow);
}
.about__stat i { font-size: 1.6rem; color: var(--accent); }
.about__stat strong { display: block; font-family: 'Poppins', sans-serif; }
.about__stat span { font-size: .85rem; color: var(--gray-300); }
.about__content p { margin-bottom: 18px; color: var(--gray-500); font-size: 1.03rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center; padding: 34px 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: var(--gray-300);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.stat:hover { transform: translateY(-6px); }
.stat i { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.stat__num { display: block; font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: .92rem; }

.vision {
  margin-top: 70px; display: flex; gap: 28px; align-items: flex-start;
  padding: 40px; border-radius: var(--radius-lg); background: var(--gray-50);
  border-left: 5px solid var(--accent);
}
.vision__icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; color: var(--white); background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.vision h3 { font-size: 1.5rem; margin-bottom: 10px; }
.vision p { color: var(--gray-700); font-size: 1.05rem; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  padding: 30px 24px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.value:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(255,122,26,.4); }
.value__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  font-size: 1.3rem; color: var(--accent-dark); background: rgba(255,122,26,.12);
}
.value h4 { font-size: 1.1rem; margin-bottom: 10px; }
.value p { font-size: .93rem; color: var(--gray-500); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Franchise ---------- */
.franchise { position: relative; padding: 120px 0; overflow: hidden; background: var(--navy-900); text-align: center; }
.franchise__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.franchise__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,26,.28), transparent 55%),
    linear-gradient(160deg, rgba(11,23,52,.95), rgba(18,34,74,.9));
}
.franchise__inner { position: relative; z-index: 2; max-width: 880px; }
.franchise__icon {
  width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 0 10px rgba(255,122,26,.15), 0 0 0 20px rgba(255,122,26,.07);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 10px rgba(255,122,26,.15), 0 0 0 20px rgba(255,122,26,.07); }
  50%     { box-shadow: 0 0 0 14px rgba(255,122,26,.2), 0 0 0 28px rgba(255,122,26,.05); }
}
.franchise__title { color: var(--white); font-size: clamp(1.8rem, 4.2vw, 2.8rem); font-weight: 800; margin-bottom: 20px; }
.franchise__text { color: var(--gray-300); font-size: 1.08rem; max-width: 760px; margin: 0 auto 40px; }
.franchise__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.feature {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px;
  border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--white); font-weight: 500; font-size: .92rem;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.feature i { font-size: 1.5rem; color: var(--accent); }
.feature:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(255,122,26,.5); }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; align-items: start; }
.contact__info {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow); color: var(--white);
}
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.info-item:last-of-type { border-bottom: none; }
.info-item__icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 1.15rem; color: var(--accent); background: rgba(255,122,26,.12);
  transition: background .3s, color .3s;
}
.info-item:hover .info-item__icon { background: var(--accent); color: var(--white); }
.info-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.info-item p, .info-item a { color: var(--gray-300); font-size: .95rem; word-break: break-word; }
.info-item a:hover { color: var(--accent-2); }
.contact__map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: var(--navy-600); aspect-ratio: 4 / 3; }
.map-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px; text-align: center; }
.map-consent > i { font-size: 2rem; color: var(--accent); }
.map-consent p { color: var(--gray-300); font-size: .85rem; max-width: 320px; }
.map-consent .btn { padding: 10px 22px; font-size: .9rem; }
.map-consent a { color: var(--gray-300); font-size: .82rem; text-decoration: underline; }
.map-consent a:hover { color: var(--accent-2); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact__form { background: var(--white); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-wrap > i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gray-500); font-size: .95rem; pointer-events: none; transition: color .3s;
}
.input-wrap--textarea > i { top: 18px; transform: none; }
.input-wrap input, .input-wrap select, .input-wrap textarea {
  width: 100%; padding: 14px 16px 14px 46px; border-radius: 12px;
  border: 2px solid var(--gray-100); background: var(--gray-50); color: var(--navy-800);
  font-size: .95rem; outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.input-wrap textarea { resize: vertical; min-height: 130px; }
.input-wrap--select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.input-wrap--select::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem;
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-500); pointer-events: none;
}
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: #a3abbd; }
.input-wrap input:focus, .input-wrap select:focus, .input-wrap textarea:focus {
  border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(255,122,26,.15);
}
.input-wrap:focus-within > i { color: var(--accent); }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #e5484d; }
.error-msg { display: block; color: #e5484d; font-size: .8rem; margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 12px; text-align: center; font-weight: 500; color: #e5484d; }
.form-note { margin-top: 12px; text-align: center; font-size: .82rem; color: var(--gray-500); }
.form-note a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-success { margin-top: 12px; text-align: center; font-weight: 500; color: #18a058; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); padding: 64px 0 28px; color: var(--gray-300); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer__logo { display: inline-block; background: var(--white); padding: 10px 16px; border-radius: 14px; margin-bottom: 16px; }
.footer__logo img { height: 50px; width: auto; }
.footer__brand p { font-size: .93rem; max-width: 340px; }
.footer__col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer__links li + li { margin-top: 8px; }
.footer__links a { color: var(--gray-300); transition: color .3s, padding .3s; }
.footer__links a:hover { color: var(--accent); padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.footer__contact li + li { margin-top: 12px; }
.footer__contact i { color: var(--accent); margin-top: 4px; width: 16px; }
.footer__contact a:hover { color: var(--accent); }
.footer__copy { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; color: var(--gray-500); text-align: center; }
.footer__copy a { text-decoration: underline; text-underline-offset: 3px; }
.footer__copy a:hover { color: var(--accent); }

.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.1rem; color: var(--white); background: rgba(255,255,255,.08);
  transition: background .3s, transform .3s var(--ease);
}
.social a:hover { background: var(--accent); transform: translateY(-3px); color: var(--white); }
.social--inline { margin-top: 6px; }
.info-item .social a { color: var(--white); font-size: 1rem; width: 38px; height: 38px; }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 1200;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white); font-size: 2rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 4px 10px rgba(0,0,0,.15);
  transition: transform .3s var(--ease), box-shadow .3s, bottom .4s var(--ease);
}
.whatsapp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  z-index: -1; animation: waPulse 2.2s infinite;
}
.whatsapp:hover { transform: scale(1.1); box-shadow: 0 14px 34px rgba(37, 211, 102, .6); }
.whatsapp__tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--navy-800); color: var(--white); font-size: .85rem; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s;
}
.whatsapp:hover .whatsapp__tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
body.cookie-open .whatsapp { bottom: 150px; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1300;
  max-width: 1100px; margin: 0 auto; border-radius: var(--radius);
  background: rgba(11, 23, 52, .97); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
  transform: translateY(150%); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 26px; }
.cookie__text { display: flex; align-items: flex-start; gap: 16px; }
.cookie__text > i { font-size: 1.8rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.cookie__text strong { display: block; color: var(--white); font-family: 'Poppins', sans-serif; margin-bottom: 4px; }
.cookie__text p { color: var(--gray-300); font-size: .88rem; }
.cookie__text a { color: var(--accent-2); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie__actions .btn { padding: 10px 18px; font-size: .86rem; }
.cookie__prefs { padding: 0 26px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
.pref { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); cursor: pointer; }
.pref input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.pref strong { display: block; color: var(--white); font-size: .9rem; }
.pref small { color: var(--gray-300); font-size: .8rem; }
.cookie__prefs-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }

/* ---------- Legal page ---------- */
.legal { padding: calc(var(--header-h) + 60px) 0 80px; }
.legal__box { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.legal h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--gray-700); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--accent-dark); word-break: break-word; }
.legal__meta { color: var(--gray-500); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 14px; padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h4 { font-size: 1.02rem; margin: 20px 0 8px; }
.legal ol { list-style: lower-alpha; padding-left: 24px; }
.legal__toc { background: var(--gray-50); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 28px; }
.legal__toc strong { display: block; color: var(--navy-800); margin-bottom: 8px; font-family: 'Poppins', sans-serif; }
.legal__toc ol { list-style: decimal; columns: 2; column-gap: 32px; padding-left: 20px; }
.legal__toc li { margin-bottom: 4px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; border: 1px solid var(--gray-100); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: top; color: var(--gray-700); }
.legal th { background: var(--gray-50); color: var(--navy-800); font-family: 'Poppins', sans-serif; font-weight: 600; }
.legal tr:last-child td { border-bottom: none; }
.legal__note { background: rgba(255,122,26,.08); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--accent-dark); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.card.reveal.visible { transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.card.reveal.visible:hover { transform: translateY(-12px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .cards, .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .logo__img { height: 48px; }
  .hamburger { display: flex; }

  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(80%, 320px); z-index: 1100;
    background: var(--navy-800); padding: calc(var(--header-h) + 20px) 26px 30px;
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,.35);
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list li { opacity: 0; transform: translateX(20px); transition: opacity .4s, transform .4s var(--ease); }
  .nav.open .nav__list li { opacity: 1; transform: none; }
  .nav.open .nav__list li:nth-child(1) { transition-delay: .1s; }
  .nav.open .nav__list li:nth-child(2) { transition-delay: .15s; }
  .nav.open .nav__list li:nth-child(3) { transition-delay: .2s; }
  .nav.open .nav__list li:nth-child(4) { transition-delay: .25s; }
  .nav__link { padding: 14px 18px; border-radius: 12px; font-size: 1.05rem; color: rgba(255,255,255,.88); }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.active { background: rgba(255,122,26,.12); color: var(--accent-2); }

  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__media { min-height: 0; aspect-ratio: 5 / 4; max-width: 560px; width: 100%; margin: 0 auto; }

  .about__inner { grid-template-columns: 1fr; gap: 56px; }
  .about__stat { right: 12px; }
  .contact__inner { grid-template-columns: 1fr; }
  .franchise__features { grid-template-columns: repeat(2, 1fr); }
  .franchise__bg { background-attachment: scroll; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .section { padding: 80px 0; }
  .sub-title { margin-top: 70px; }
  .cookie__inner { flex-direction: column; align-items: stretch; }
  .cookie__actions { justify-content: flex-end; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .logo__img { height: 42px; }
  .cards, .values, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 28px 20px; }
  .contact__info { padding: 28px 22px; }
  .vision { flex-direction: column; padding: 28px 22px; }
  .franchise { padding: 90px 0; }
  .btn--lg { padding: 14px 26px; font-size: .98rem; white-space: normal; text-align: center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery__item--wide { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .legal__box { padding: 28px 20px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie__inner { padding: 18px; gap: 16px; }
  .cookie__actions { flex-direction: column-reverse; }
  .cookie__actions .btn { width: 100%; }
  .cookie__prefs { padding: 16px 18px 18px; }
  .cookie__prefs-actions .btn { width: 100%; }
  body.cookie-open .whatsapp { bottom: 300px; }
  .whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 1.8rem; }
  .whatsapp__tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
