/* Clinique Dentaire Roxy International — navy + aqua identity */
:root {
  --navy: #01102f;
  --navy-2: #0a2350;
  --navy-3: #13336e;
  --aqua: #3daebc;
  --aqua-bright: #4fd1e0;
  --aqua-soft: #e6f7f9;
  --ink: #0b1a33;
  --text: #3a4a63;
  --muted: #6c7a91;
  --bg: #ffffff;
  --soft: #f3f7fc;
  --line: #e2e9f3;
  --wa: #16a34a;
  --danger: #e2483d;
  --shadow: 0 12px 32px -14px rgba(1, 16, 47, 0.22);
  --shadow-lg: 0 28px 60px -24px rgba(1, 16, 47, 0.38);
  --display: "Outfit", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.text-accent { color: var(--aqua-bright); }

/* ---------- Buttons (pill shaped) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-3); box-shadow: var(--shadow); }
.btn--accent { background: var(--aqua); color: var(--navy); }
.btn--accent:hover { background: var(--aqua-bright); box-shadow: 0 12px 30px -10px rgba(79,209,224,.6); }
.btn--white { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--aqua-bright); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #128a3e; }
.link-btn { background: none; border: 0; color: var(--aqua); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-align: left; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; background: rgba(1, 16, 47, .55); backdrop-filter: blur(12px); }
.header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 4px 24px -12px rgba(1,16,47,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--navy); }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .14em; line-height: 1.05; display: flex; flex-direction: column; }
.brand__name small { font-size: 10px; letter-spacing: .2em; font-weight: 500; text-transform: uppercase; opacity: .75; }
.brand__name em { font-style: normal; font-size: 10px; letter-spacing: .32em; font-weight: 500; color: var(--aqua-bright); text-transform: uppercase; }
.header.is-scrolled .brand { color: var(--navy); }
.header.is-scrolled .brand__name em { color: var(--aqua); }

.nav { display: flex; gap: 2px; }
.nav__link { color: rgba(255,255,255,.88); font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__link:hover { background: rgba(255,255,255,.1); }
.nav__link.is-active { background: rgba(79,209,224,.16); color: #fff; }
.nav__link--accent { color: var(--aqua-bright); }
.header.is-scrolled .nav__link { color: var(--text); }
.header.is-scrolled .nav__link:hover { background: var(--soft); }
.header.is-scrolled .nav__link.is-active { background: var(--aqua-soft); color: var(--navy); }
.header.is-scrolled .nav__link--accent { color: var(--aqua); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.langs button { background: none; border: 0; color: rgba(255,255,255,.8); font: 600 12px var(--sans); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.langs button.is-active { background: var(--aqua); color: var(--navy); }
.header.is-scrolled .langs { background: var(--soft); }
.header.is-scrolled .langs button { color: var(--muted); }
.header.is-scrolled .langs button.is-active { color: var(--navy); }
.header .btn--primary { background: var(--aqua); color: var(--navy); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.header.is-scrolled .burger span { background: var(--navy); }

/* ---------- Hero (split) ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, var(--navy-3) 0%, var(--navy) 55%); color: #fff; overflow: hidden; padding: 140px 0 90px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--aqua); filter: blur(140px); opacity: .25; right: -120px; top: 60px; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); margin-bottom: 14px; }
.eyebrow--light { color: var(--aqua-bright); background: rgba(79,209,224,.1); border: 1px solid rgba(79,209,224,.3); padding: 7px 16px; border-radius: 999px; letter-spacing: .04em; text-transform: none; }
.eyebrow--accent { color: var(--aqua-bright); }
.hero__title { font-family: var(--display); font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; font-weight: 600; margin-bottom: 22px; letter-spacing: -.02em; }
.hero__text { font-size: clamp(16px, 1.5vw, 18px); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__badges { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.hero__badges li { flex: 1; display: flex; flex-direction: column; padding-right: 18px; }
.hero__badges li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.hero__badges strong { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--aqua-bright); line-height: 1.1; }
.hero__badges span { font-size: 13.5px; color: rgba(255,255,255,.7); }

.hero__visual { position: relative; }
.hero__img { border-radius: 32px 32px 32px 120px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite; }
.float-card div { display: flex; flex-direction: column; line-height: 1.3; font-size: 14px; }
.float-card strong { font-family: var(--display); font-weight: 600; font-size: 15px; }
.float-card a { color: var(--danger); font-weight: 700; }
.float-card__ic { width: 40px; height: 40px; border-radius: 12px; background: var(--aqua-soft); display: grid; place-items: center; font-size: 20px; }
.float-card--top { top: 30px; left: -40px; }
.float-card--bottom { bottom: 40px; right: -20px; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Urgent band ---------- */
.urgent { background: linear-gradient(90deg, var(--aqua), var(--aqua-bright)); color: var(--navy); }
.urgent__inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; }
.urgent__img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; flex: none; }
.urgent__text { flex: 1; }
.urgent__text h2 { font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.urgent__text p { font-size: 15px; color: rgba(1,16,47,.78); }
.urgent__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 110px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: #fff; overflow: hidden; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section__title { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); color: var(--ink); line-height: 1.12; font-weight: 600; margin-bottom: 16px; letter-spacing: -.015em; }
.section__lead { font-size: 17px; color: var(--muted); }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__lead { color: rgba(255,255,255,.75); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16/10.5; overflow: hidden; margin: 10px 10px 0; border-radius: 18px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--aqua-bright); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--aqua); letter-spacing: .1em; }
.card__title { font-family: var(--display); font-size: 22px; color: var(--ink); margin: 2px 0 6px; font-weight: 600; }
.card__desc { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.card__list { font-size: 14px; margin-bottom: 18px; flex: 1; padding: 12px 14px; background: var(--soft); border-radius: 12px; }
.card__link { font-weight: 600; color: var(--navy); font-size: 15px; transition: color .2s; }
.card__link:hover { color: var(--aqua); }

/* ---------- Team ---------- */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.doctor { display: flex; gap: 22px; background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doctor__avatar { flex: none; width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--aqua-bright); display: grid; place-items: center; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: .04em; }
.doctor h3 { font-family: var(--display); font-size: 22px; color: var(--ink); font-weight: 600; }
.doctor__role { color: var(--aqua); font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.doctor p:last-child { font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: #fff; border-radius: 20px; padding: 22px; border: 1px solid var(--line); }
.value span { font-size: 24px; display: block; margin-bottom: 8px; }
.value strong { font-family: var(--display); color: var(--ink); font-size: 17px; font-weight: 600; }
.value p { font-size: 14px; color: var(--muted); }

/* ---------- Tourism ---------- */
.section--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(61,174,188,.28), transparent 45%), radial-gradient(circle at 0% 100%, rgba(19,51,110,.9), transparent 50%); }
.tourism { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 60px; position: relative; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 26px 22px; }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--aqua); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.step h3 { font-family: var(--display); font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.step p { font-size: 14.5px; color: rgba(255,255,255,.72); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.pack { background: #fff; color: var(--text); border-radius: 24px; padding: 30px 26px; position: relative; display: flex; flex-direction: column; }
.pack:first-child { outline: 3px solid var(--aqua); outline-offset: -3px; }
.pack__tag { position: absolute; top: -13px; right: 24px; background: var(--aqua); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.pack__title { font-family: var(--display); font-size: 23px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.pack__desc { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.pack__list { margin-bottom: 24px; flex: 1; }
.pack__list li { padding: 7px 0 7px 28px; position: relative; font-size: 14.5px; }
.pack__list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 19px; height: 19px; border-radius: 6px; background: var(--aqua-soft); color: var(--aqua); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.pack__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: rgba(79,209,224,.08); border: 1px solid rgba(79,209,224,.2); }
.why strong { font-family: var(--display); font-size: 17px; color: var(--aqua-bright); font-weight: 600; }
.why span { font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--soft); border: 1px solid transparent; border-radius: 18px; padding: 0 24px; transition: background .2s, border-color .2s; }
.faq__item[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 18px; transition: transform .3s, background .3s; flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--aqua); }
.faq__item p { padding-bottom: 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft); color: var(--ink); transition: border .2s, background .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--aqua); background: #fff; }
.form textarea { resize: vertical; }
.info { display: flex; flex-direction: column; gap: 20px; }
.info__card { background: var(--navy); color: #fff; border-radius: 26px; padding: 28px; }
.info__card h3 { font-family: var(--display); font-size: 20px; font-weight: 600; margin-bottom: 14px; color: var(--aqua-bright); }
.info__card ul { margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.info__card ul:last-child { margin-bottom: 0; }
.info__card li { display: flex; gap: 12px; align-items: flex-start; }
.info__card a:hover { color: var(--aqua-bright); }
.info__ic { flex: none; }
.hours li { justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 8px; }
.map { width: 100%; flex: 1; min-height: 240px; border: 0; border-radius: 26px; }

/* ---------- Footer ---------- */
.footer { background: #000a20; color: rgba(255,255,255,.7); padding-top: 70px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.brand--footer { margin-bottom: 18px; }
.footer__quote { font-family: var(--display); color: var(--aqua-bright); font-size: 17px; margin-bottom: 10px; }
.footer__about { margin-bottom: 20px; }
.footer h4 { color: #fff; font-family: var(--display); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--aqua-bright); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .2s, color .2s; }
.socials a:hover { background: var(--aqua); color: var(--navy); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 26px; bottom: 98px; width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(22,163,74,.6); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- AI chat ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 70; font-size: 15px; }
.chat__launcher { display: flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.chat__fab { width: 60px; height: 60px; border-radius: 20px; background: var(--navy); color: var(--aqua-bright); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(1,16,47,.6); transition: transform .2s, border-radius .3s; }
.chat__launcher:hover .chat__fab { transform: scale(1.06); }
.chat__fab::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua-bright); border: 2px solid #fff; transform: translate(22px, -22px); }
.chat__ic-close, .chat.is-open .chat__ic-open { display: none; }
.chat.is-open .chat__ic-close { display: block; }
.chat.is-open .chat__fab::after { display: none; }
.chat__teaser { background: var(--navy); color: #fff; font-weight: 500; font-size: 14px; padding: 10px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg); white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .4s, transform .4s; }
.chat__teaser.is-visible { opacity: 1; transform: none; }
.chat.is-open .chat__teaser { display: none; }

.chat__panel { position: absolute; right: 0; bottom: 76px; width: 390px; height: min(610px, calc(100vh - 130px)); background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(1,16,47,.5); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; pointer-events: none; transition: opacity .25s, transform .25s; }
.chat.is-open .chat__panel { opacity: 1; transform: none; pointer-events: auto; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--navy); color: #fff; }
.chat__avatar { position: relative; flex: none; }
.chat__avatar img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.chat__online { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--navy); }
.chat__who { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.chat__who strong { font-family: var(--display); font-size: 16px; font-weight: 600; }
.chat__who span { font-size: 12.5px; color: rgba(255,255,255,.7); }
.chat__close { background: rgba(255,255,255,.1); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.chat__close:hover { background: rgba(255,255,255,.2); }
.chat__body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 18px; line-height: 1.5; word-wrap: break-word; animation: msgIn .25s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg--bot { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 6px; box-shadow: 0 2px 8px -4px rgba(1,16,47,.15); }
.msg--user { align-self: flex-end; background: var(--aqua); color: var(--navy); font-weight: 500; border-bottom-right-radius: 6px; }
.msg a { color: var(--navy-3); font-weight: 600; text-decoration: underline; }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); animation: dot 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.chat__chips { display: flex; gap: 8px; padding: 10px 14px 0; overflow-x: auto; background: var(--soft); scrollbar-width: none; }
.chat__chips[hidden] { display: none; }
.chat__chips button { flex: none; background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 7px 13px; font: 500 13px var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chat__chips button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat__form { display: flex; gap: 8px; padding: 12px 14px; background: var(--soft); }
.chat__form input { flex: 1; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.chat__form input:focus { outline: none; border-color: var(--aqua); }
.chat__form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: var(--aqua-bright); display: grid; place-items: center; cursor: pointer; }
.chat__foot { font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 14px 12px; background: var(--soft); }
.chat__foot a { color: var(--navy); font-weight: 600; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; gap: 4px; box-shadow: 0 20px 30px -15px rgba(0,0,0,.2); transform: translateY(-130%); transition: transform .35s; z-index: -1; }
  .nav.is-open { transform: none; }
  .nav__link, .header.is-scrolled .nav__link { color: var(--ink); padding: 12px 16px; }
  .nav__link--accent { color: var(--aqua) !important; }
  .burger { display: flex; }
  .cards, .packs { grid-template-columns: repeat(2, 1fr); }
  .steps, .why, .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--top { left: 10px; }
  .float-card--bottom { right: 10px; }
}
@media (max-width: 860px) {
  .hero__grid, .contact, .doctors { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .urgent__inner { flex-wrap: wrap; }
  .urgent__img { display: none; }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .langs button { padding: 6px 8px; }
  .brand__name { font-size: 16px; }
  .cards, .packs, .steps, .why, .values, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__badges strong { font-size: 24px; }
  .doctor { flex-direction: column; padding: 24px; }
  .form, .info__card { padding: 22px; }
  .float-card { padding: 10px 12px; }
  .float-card--top { top: 14px; left: 8px; }
  .float-card--bottom { bottom: 14px; right: 8px; }
  .chat { right: 16px; bottom: 16px; }
  .wa-float { right: 20px; bottom: 88px; }
  .chat__panel { position: fixed; inset: auto 8px 86px; width: auto; height: calc(100svh - 110px); }
}
