/* =========================================================
   VISUMAX Robotic landing — Focus Medical
   Drop the brand webfont into assets/fonts/ and adjust the
   @font-face below; falls back to system sans until then.
   ========================================================= */

/* @font-face {
    font-family: 'Brand';
    src: url('../fonts/brand.woff2') format('woff2');
    font-weight: 300 800;
    font-display: swap;
} */

:root {
    --navy:        #16355c;
    --navy-deep:   #0f2743;
    --blue:        #2f7de1;
    --blue-mid:    #2a5b9e;
    --lightblue:   #dcebf7;
    --lightblue-2: #eef5fb;
    --gold:        #c9a24b;
    --gold-light:  #e8cd8a;
    --orange:      #f5a623;
    --ink:         #22303f;
    --white:       #ffffff;
    --radius:      14px;
    --shadow:      0 10px 30px rgba(22, 53, 92, .12);
    --font: 'Brand', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); line-height: 1.55; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.t-center { text-align: center; }

.section { padding: 56px 0; }
.section-title {
    text-align: center; color: var(--navy);
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    font-weight: 800; margin-bottom: 32px; letter-spacing: .01em;
}
.lead { text-align: center; color: var(--navy); font-weight: 700; max-width: 820px; margin: -12px auto 48px; }
.note-italic { text-align: center; font-style: italic; font-size: .85rem; color: var(--blue-mid); margin-top: 28px; }

.link-gold { color: var(--gold); font-weight: 700; text-decoration: none; }
.link-gold:hover { text-decoration: underline; }

/* ---------- Buttons & pills ---------- */
.btn {
    display: inline-block; border: 0; cursor: pointer; text-decoration: none;
    font-family: inherit; font-size: 1rem; font-weight: 700;
    padding: 12px 34px; border-radius: 999px; transition: transform .15s, box-shadow .15s;
}
.btn--gold {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    color: var(--navy-deep); box-shadow: 0 4px 14px rgba(201, 162, 75, .45);
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.pill {
    display: inline-block; padding: 8px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.pill--gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--navy-deep); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; text-align: center;
    background: linear-gradient(180deg, #e9f1fa 0%, #d3e4f5 100%);
    padding: 64px 20px 56px;
}
.hero__face {
    position: absolute; top: 0; bottom: 0; width: 26%;
    background: linear-gradient(135deg, #c8d8ea, #a9c2dd); /* replace with photo: background:url(../img/face-left.jpg) center/cover */
    filter: saturate(.9);
}
.hero__face--left  { left: 0;  mask-image: linear-gradient(90deg, #000 55%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); }
.hero__face--right { right: 0; mask-image: linear-gradient(270deg, #000 55%, transparent); -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); }
.hero__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.hero h1 { color: var(--navy); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
.hero__sub { color: var(--navy); font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 14px 0 20px; }
.hero__gift { color: var(--blue); font-weight: 800; font-size: 1.15rem; margin-top: 18px; }

/* ---------- Navy strips ---------- */
.strip { background: var(--navy); color: var(--white); padding: 34px 0; text-align: center; }
.strip--navy p { max-width: 860px; margin: 0 auto; font-weight: 600; }
.strip--cta h2 { font-size: 1.4rem; margin-bottom: 12px; }
.strip--cta p { margin-bottom: 22px; }

/* ---------- Discount ---------- */
.discount__grid {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: start;
}
.discount__card { text-align: center; }
.discount__card h3 { color: var(--blue); font-size: 1rem; margin: 18px 0 10px; }
.discount__card p { font-size: .9rem; max-width: 380px; margin: 0 auto; }
.discount__plus {
    align-self: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--gold); color: var(--white); font-size: 1.6rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.discount__terms { text-align: center; margin-top: 34px; }

/* placeholder image blocks — replace with real <img> */
.ph {
    border-radius: var(--radius); box-shadow: var(--shadow); height: 240px;
    background: linear-gradient(135deg, #e3edf7, #c5d8ec);
    display: flex; align-items: center; justify-content: center;
}
.ph--machine::after    { content: '🔬'; font-size: 3rem; opacity: .5; }
.ph--sunglasses::after { content: '🕶'; font-size: 3rem; opacity: .5; }

/* ---------- Light blue / treatments ---------- */
.section--lightblue { background: var(--lightblue); }
.treatments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.treatment {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 0 18px 22px; text-align: center;
}
.treatment__badge {
    display: inline-block; transform: translateY(-50%); margin-bottom: -6px;
    padding: 10px 16px; border-radius: 999px; color: var(--white);
    font-size: .8rem; font-weight: 800; line-height: 1.25;
}
.treatment__badge--navy   { background: var(--navy); }
.treatment__badge--blue   { background: var(--blue); }
.treatment__badge--orange { background: var(--orange); }
.treatment__badge--gold   { background: var(--gold); }
.treatment p { font-size: .85rem; color: var(--blue-mid); }

/* ---------- Video ---------- */
.video__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.video__placeholder {
    position: relative; aspect-ratio: 16/9; background: #000; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.video__play {
    width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--gold); color: var(--white); font-size: 1.4rem;
}
.video__text h2 { color: var(--navy); font-size: 1.4rem; margin-bottom: 14px; }
.video__text p { font-size: .95rem; }

/* ---------- Appointment ---------- */
.appointment {
    padding: 64px 0; color: var(--white);
    background:
        linear-gradient(rgba(15, 39, 67, .78), rgba(15, 39, 67, .78)),
        linear-gradient(160deg, #1b3a63, #2a5b9e); /* replace 2nd layer: url(../img/budapest-night.jpg) center/cover */
}
.appointment__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.appointment__intro h2 { text-align: center; font-size: 1.6rem; margin-bottom: 28px; }
.appointment__promo {
    background: linear-gradient(135deg, var(--navy-deep), var(--blue-mid));
    border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow);
}
.appointment__promo-title { display: block; color: var(--gold-light); font-weight: 800; font-size: 1.3rem; margin-bottom: 12px; }
.appointment__promo-amount { display: block; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--navy-deep); font-weight: 800; font-size: 1.2rem; border-radius: 8px; padding: 12px; }
.appointment__promo-amount small { display: block; font-size: .8rem; }

/* multi-step form */
.mform { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; }
.mform__progress { margin-bottom: 18px; font-size: .85rem; color: var(--blue-mid); }
.mform__step-label { font-weight: 700; }
.mform__bar { height: 8px; background: var(--lightblue); border-radius: 999px; margin: 8px 0 4px; overflow: hidden; }
.mform__bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transition: width .3s; }
.mform__step { display: none; border: 0; }
.mform__step.is-active { display: block; }
.mform__step legend { font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.mform__row { margin-bottom: 14px; }
.mform__row label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); }
.mform__row input[type="checkbox"] { margin-right: 8px; }
.mform__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mform__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.mform__pair--phone { grid-template-columns: 110px 1fr; }
.mform__pair--dob { grid-template-columns: repeat(3, 1fr); }
.mform input[type="text"], .mform input[type="tel"], .mform input[type="email"], .mform select {
    width: 100%; padding: 10px 12px; border: 1px solid #c7d6e6; border-radius: 8px;
    font-family: inherit; font-size: .95rem; background: var(--lightblue-2);
}
.mform input:focus, .mform select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.mform input.is-invalid { border-color: #d64545; background: #fdf0f0; }
.mform__nav { display: flex; justify-content: space-between; gap: 12px; }
.mform__consent { font-weight: 400 !important; }
.mform__msg { margin-top: 12px; font-weight: 700; }
.mform__msg.is-ok { color: #1d7a3a; }
.mform__msg.is-err { color: #d64545; }

/* ---------- Why ---------- */
.why__mert { text-align: center; font-weight: 800; color: var(--navy); font-size: 1.2rem; margin-bottom: 30px; }
.why__timeline { list-style: none; position: relative; max-width: 760px; margin: 0 auto; }
.why__timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: var(--lightblue); transform: translateX(-50%);
}
.why__item { position: relative; width: 50%; padding: 14px 44px; font-size: .95rem; color: var(--navy); font-weight: 600; }
.why__item--left  { text-align: right; }
.why__item--right { margin-left: 50%; text-align: left; }
.why__item::before {
    content: '✓'; position: absolute; top: 14px; width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid var(--blue); color: var(--blue); font-size: .85rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; background: var(--white); z-index: 1;
}
.why__item--left::before  { right: -13px; }
.why__item--right::before { left: -13px; }

/* ---------- Prices ---------- */
.ptable { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 8px; }
.ptable th { background: var(--navy); color: var(--white); padding: 14px 16px; font-size: .9rem; text-align: left; }
.ptable th.ptable__promo-col { background: var(--gold); color: var(--navy-deep); }
.ptable td { padding: 14px 16px; font-size: .9rem; border-bottom: 1px solid var(--lightblue); background: var(--white); }
.ptable tbody tr:nth-child(even) td { background: var(--lightblue-2); }
.ptable__name { font-weight: 700; color: var(--navy); }
.ptable__name.is-new { color: var(--gold); }
.ptable__details { font-size: .8rem; }
.ptable__footnote { font-size: .8rem; color: var(--blue-mid); margin-bottom: 40px; }
.ptable__gift { text-align: right; margin-bottom: -18px; position: relative; z-index: 1; }
.price-old { color: #c0392b; }
.price-promo { color: var(--gold); }
.prices__warning { text-align: center; font-size: .85rem; font-weight: 700; color: var(--navy); margin-top: 18px; }

/* ---------- Payment ---------- */
.payment { text-align: center; }
.payment p { max-width: 720px; margin: 0 auto; }

/* ---------- Stats ---------- */
.stats { background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
    background: var(--lightblue-2); border-radius: var(--radius); padding: 30px 16px; text-align: center;
}
.stat__num { display: block; color: var(--gold); font-size: 2rem; font-weight: 800; }
.stat__label { font-size: .85rem; color: var(--navy); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.tcard { background: var(--lightblue-2); border-radius: var(--radius); padding: 16px; }
.tcard--wide { grid-row: span 2; }
.tcard__video {
    aspect-ratio: 16/10; border-radius: 10px; background: linear-gradient(135deg, #b9cee3, #8fb0d1);
    display: flex; align-items: flex-start; padding: 10px; margin-bottom: 12px;
}
.tcard__badge { background: var(--gold); color: var(--white); font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.tcard h3 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.tcard p { font-size: .85rem; font-style: italic; color: var(--blue-mid); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--white); padding: 44px 0 20px; font-size: .9rem; }
.footer a { color: var(--lightblue); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__group { border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 14px; margin-bottom: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h3 { color: var(--gold-light); font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer__contact li { font-weight: 600; }
.footer__copy { text-align: center; margin-top: 34px; font-size: .8rem; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .treatments { grid-template-columns: repeat(2, 1fr); }
    .video__grid, .appointment__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__face { display: none; }
}
@media (max-width: 600px) {
    .treatments, .testimonials__grid { grid-template-columns: 1fr; }
    .discount__grid { grid-template-columns: 1fr; }
    .discount__plus { margin: 0 auto; }
    .mform__row--2 { grid-template-columns: 1fr; }
    .why__timeline::before { left: 13px; }
    .why__item, .why__item--right { width: 100%; margin-left: 0; text-align: left; padding: 12px 12px 12px 44px; }
    .why__item--left::before, .why__item--right::before { left: 0; right: auto; }
    .footer__grid { grid-template-columns: 1fr; }
    .ptable th, .ptable td { padding: 10px 8px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* =========================================================
   v2 additions — real page structure (slider, accordion,
   tech section, GF-style form, footer partners)
   ========================================================= */

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 99; }

/* hero slider */
.hero__slides { position: relative; min-height: 300px; }
.hero__slide { display: none; }
.hero__slide.is-active { display: block; animation: fadeIn .5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero__dots { position: relative; z-index: 2; margin-top: 24px; display: flex; gap: 10px; justify-content: center; }
.hero__dot { width: 12px; height: 12px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(22,53,92,.25); }
.hero__dot.is-active { background: var(--navy); }

.section-subtitle { text-align: center; color: var(--blue); font-size: 1.1rem; font-weight: 800; margin: -18px 0 32px; }
.section-title--sub { margin-top: -18px; }
.strip__title { font-size: 1.15rem; font-weight: 700; max-width: 900px; margin: 0 auto; }

.discount__card img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.discount__card h4 { color: var(--blue); font-size: 1rem; margin: 18px 0 10px; }

/* accordion */
.accordion { max-width: 820px; margin: 36px auto 0; }
.accordion__toggle {
    width: 100%; text-align: left; background: var(--lightblue-2); border: 1px solid var(--lightblue);
    border-radius: 10px; padding: 14px 18px; cursor: pointer; font-family: inherit; font-size: .95rem; color: var(--navy);
}
.accordion__toggle::after { content: '▾'; float: right; transition: transform .2s; }
.accordion__toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.accordion__panel { border: 1px solid var(--lightblue); border-top: 0; border-radius: 0 0 10px 10px; padding: 16px 18px 16px 38px; font-size: .9rem; }
.accordion__panel li { margin-bottom: 10px; }

/* tech section */
.tech__text { max-width: 820px; margin: 0 auto; }
.tech__text p { margin-bottom: 16px; }
.tech__highlight { text-align: center; color: var(--navy); font-size: 1.15rem; margin-top: 28px; }

/* form additions */
.mform__required { font-size: .78rem; color: var(--blue-mid); margin-bottom: 8px; }
.mform__label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mform__label small { font-weight: 400; }
.mform__choice { display: block; font-size: .88rem; font-weight: 400; color: var(--ink); margin: 6px 0; cursor: pointer; }
.mform__choice input { margin-right: 8px; }
.mform__note { font-size: .85rem; background: var(--lightblue-2); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.mform textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #c7d6e6; border-radius: 8px;
    font-family: inherit; font-size: .95rem; background: var(--lightblue-2); resize: vertical;
}
.mform input[type="number"] { width: 100%; padding: 10px 12px; border: 1px solid #c7d6e6; border-radius: 8px; font-family: inherit; font-size: .95rem; background: var(--lightblue-2); }
.appointment__promo-list { text-align: left; font-size: .85rem; margin-top: 14px; color: var(--white); }
.appointment__promo-list ul { list-style: none; margin-top: 6px; }
.appointment__promo-list li { margin-bottom: 4px; }

/* prices */
.ptable__ribbon {
    display: inline-block; background: var(--gold); color: var(--white); font-weight: 800; font-size: .75rem;
    padding: 5px 14px; border-radius: 6px 6px 0 0; letter-spacing: .05em;
}
.tag-new { color: var(--gold); font-weight: 800; font-size: .8rem; }

/* stats: label above number, mint az eredetin */
.stat__label { display: block; margin-bottom: 8px; }

/* testimonials */
.tcard__video { position: relative; overflow: hidden; }
.tcard__video img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.tcard__badge { position: absolute; top: 10px; left: 10px; }

/* footer partners + social */
.footer__partners { display: flex; gap: 34px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 20px; margin-bottom: 26px; }
.footer__partners img { height: 34px; width: auto; }
.footer__logo { height: 44px; width: auto; margin-top: 14px; }
.footer .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
    width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800;
}
@media (max-width: 900px) { .footer .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .footer .footer__grid { grid-template-columns: 1fr; }
    .footer__partners { flex-wrap: wrap; }
}
