/* AKD Kids Çayyolu · marka kitabı v1.0 ile uyumlu stil dosyası
   Renkler logodan ölçülmüştür. Yazı tipleri: Baloo 2 (başlık), Mulish (metin). */
:root {
  --navy: #1B3662;
  --red: #E5262B;
  --blue: #2194D2;
  --yellow: #F8D631;
  --lime: #A1C643;
  --blue-deep: #1673A8;
  --coral: #FF6666;
  --chalk: #FBF8F2;
  --sand: #EFE8DA;
  --white: #FFFFFF;
  --slate: #56627F;
  --line: #E3DCCD;

  --f-head: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --f-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --radius: 20px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--chalk); color: var(--navy); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 860px; }
.eyebrow { font: 800 13px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.eyebrow-light { color: #B9C4DC; }
.lead { font-size: 19px; line-height: 1.55; color: var(--slate); max-width: 58ch; }

/* ---------- Harf blokları ---------- */
.blk { display: inline-grid; place-items: center; flex: none; width: var(--s, 44px); height: var(--s, 44px); border-radius: 22%; background: var(--navy); color: var(--white); font: 800 calc(var(--s, 44px) * .52)/1 var(--f-head); padding-top: .1em; }
.b-red { background: var(--red); color: var(--white); }
.b-blue { background: var(--blue); color: var(--white); }
.b-yel { background: var(--yellow); color: var(--navy); }
.b-lime { background: var(--lime); color: var(--navy); }
.b-navy { background: var(--navy); color: var(--white); }
.t1 { transform: rotate(-6deg); } .t2 { transform: rotate(4deg); } .t3 { transform: rotate(-2deg); } .t4 { transform: rotate(7deg); } .t5 { transform: rotate(-4deg); }
.blk-lg { --s: 64px; }
.blk-md { --s: 52px; font-size: 22px; }

/* ---------- Çift balon ---------- */
.bub { display: inline-flex; align-items: flex-start; --bs: 17px; }
.bub span { font: 800 var(--bs)/1 var(--f-head); padding: .55em .85em .42em; border-radius: 1em; position: relative; color: var(--white); white-space: nowrap; }
.bub .tr { background: var(--navy); z-index: 1; }
.bub .en { background: var(--red); margin-left: -.5em; margin-top: .9em; }
.bub .tr::after, .bub .en::after { content: ""; position: absolute; bottom: -.42em; width: .9em; height: .9em; background: inherit; }
.bub .tr::after { left: .9em; clip-path: polygon(0 0, 100% 0, 30% 100%); }
.bub .en::after { right: .9em; clip-path: polygon(0 0, 100% 0, 70% 100%); }
.bub-lg { --bs: clamp(20px, 3vw, 30px); }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 999px; font: 800 16px/1.2 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #C81E23; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--white); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 62px; }
.brand-loc { display: grid; border-left: 2px solid var(--navy); padding-left: 14px; line-height: 1; }
.brand-loc small { font: 800 10px var(--f-body); letter-spacing: .26em; }
.brand-loc b { font: 800 22px/1 var(--f-head); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:not(.btn):hover { background: var(--sand); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--navy); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--chalk); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px max(20px, env(safe-area-inset-left, 0px)) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: clamp(46px, 7.4vw, 96px); line-height: .92; letter-spacing: -.02em; }
.hero h1 span { color: var(--red); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); max-width: 46ch; }
.facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 700; font-size: 15px; }
.facts .blk { --s: 30px; font-size: 16px; }

.hero-art { min-width: 0; }
.art-card { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; border-radius: 36px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; overflow: visible; }
.art-card::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: var(--sand); }
.art-word { position: relative; display: grid; grid-template-columns: repeat(2, auto); gap: clamp(10px, 1.6vw, 18px); --s: clamp(78px, 11vw, 132px); }
.art-word .blk { font-size: calc(var(--s) * .58); box-shadow: 0 18px 30px -18px rgba(27, 54, 98, .55); }
.art-card .bub { position: absolute; right: -4%; top: 8%; }
.art-arrow { position: absolute; left: 2%; bottom: 10%; width: 34%; height: auto; transform: rotate(-8deg); }
.art-dots { position: absolute; right: 9%; bottom: 8%; display: flex; gap: 6px; }
.art-dots i { width: 12px; height: 12px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .art-word .blk { animation: hop .9s cubic-bezier(.3, 1.5, .5, 1) both; }
  .art-word .blk:nth-child(2) { animation-delay: .08s; } .art-word .blk:nth-child(3) { animation-delay: .16s; } .art-word .blk:nth-child(4) { animation-delay: .24s; }
  .art-card .bub { animation: pop .6s .5s cubic-bezier(.3, 1.4, .5, 1) both; }
  @keyframes hop { from { translate: 0 -26px; } to { translate: 0 0; } }
  @keyframes pop { from { scale: .6; opacity: .2; } to { scale: 1; opacity: 1; } }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .art-card { max-width: 420px; }
}
@media (max-width: 480px) { .art-card .bub { right: 0; top: 2%; --bs: 17px; } }

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: var(--white); }
.strip-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-in div { padding: 28px 20px; display: grid; gap: 2px; border-left: 1px solid #2E4A7A; }
.strip-in div:first-child { border-left: 0; padding-left: 0; }
.strip-in b { font: 800 32px/1 var(--f-head); color: var(--yellow); }
.strip-in span { color: #C9D2E6; font-size: 15px; }
@media (max-width: 760px) {
  .strip-in { grid-template-columns: 1fr 1fr; }
  .strip-in div { padding: 22px 0; border-left: 0; border-top: 1px solid #2E4A7A; }
  .strip-in div:nth-child(-n+2) { border-top: 0; }
  .strip-in div:nth-child(2n) { padding-left: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--chalk); }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 48px; }
.sec-head h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.015em; }
.sec-head .lead { margin-top: 12px; }
.sec-head-tight { margin-bottom: 20px; align-items: center; }
@media (max-width: 560px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } .blk-lg { --s: 52px; } }

/* how */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card h3 { font-size: 24px; font-weight: 700; margin-top: 8px; }
.card p { color: var(--slate); font-size: 16px; }
.card .bub { --bs: 15px; min-height: 52px; }
@media (max-width: 1040px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }

/* day */
.acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.acts li { background: var(--chalk); border-radius: var(--radius); padding: 24px; display: grid; gap: 4px; }
.acts .ico { width: 56px; height: 56px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 10px; }
.acts svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acts b { font: 700 20px/1.2 var(--f-head); }
.acts small { color: var(--red); font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .acts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .acts li { padding: 18px; } }

/* words */
.words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .words { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .words { grid-template-columns: 1fr; } }
.word-card { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border: 0; padding: 0; background: none; cursor: pointer; perspective: 1000px; font: inherit; color: inherit; text-align: left; }
.word-inner { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.3, 1.2, .5, 1); transform-style: preserve-3d; }
.word-card[aria-pressed="true"] .word-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face-front { color: var(--navy); }
.face-back { background: var(--navy); color: var(--white); transform: rotateY(180deg); }
.face .lbl { font: 800 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.face .w { font: 800 clamp(40px, 5vw, 60px)/.95 var(--f-head); letter-spacing: -.02em; }
.face .ipa { font-weight: 600; opacity: .8; }
.face .hint { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.face-back .w { color: var(--yellow); }
.face-back p { font-size: 15px; color: #C9D2E6; }

/* family */
.family { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.family h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; margin-top: 12px; }
.family-list { display: grid; gap: 22px; }
.family-list div { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid #2E4A7A; }
.family-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.family-list p { color: #C9D2E6; }
.family-list b { color: var(--white); }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; gap: 32px; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit-text { display: grid; gap: 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-weight: 600; }
.checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 8px; background: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--navy); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(27, 54, 98, .45); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 800; font-size: 14px; }
.opt { font-weight: 600; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; font: 500 16px/1.4 var(--f-body); color: var(--navy); background: var(--chalk); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 50px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field.err input, .field.err select { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 460px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--slate); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent.err span { color: var(--red); }
.form-msg { font-weight: 700; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: #2F7A3E; }
.form-msg.bad { color: var(--red); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 700 20px/1.3 var(--f-head); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; font: 800 22px/1 var(--f-head); padding-top: 3px; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--slate); max-width: 64ch; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact-info { display: grid; gap: 28px; align-content: start; }
.info { margin: 0; display: grid; gap: 18px; }
.info div { display: grid; gap: 2px; }
.info dt { font: 800 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.info dd { margin: 0; font: 700 21px/1.35 var(--f-head); }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { font-weight: 800; font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--sand); }
.map { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--navy); color: var(--chalk); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-in { display: grid; gap: 18px; justify-items: start; }
.brand-foot .plate { background: var(--white); border-radius: 18px; padding: 10px 12px; }
.brand-foot img { width: 64px; }
.brand-foot .brand-loc { border-left-color: var(--chalk); }
.foot-slogan { font: 800 clamp(24px, 3vw, 34px)/1.1 var(--f-head); color: var(--yellow); }
.foot-small { font-size: 14px; color: #B9C4DC; }

/* floating whatsapp */
.float-wa { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 20px; background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); z-index: 40; }
.float-wa svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linejoin: round; }
