/* ============================================
   IDÉAL Speech & Hearing Solutions
   Global Stylesheet — Clean Medical Teal/White
   Fonts: Playfair Display + DM Sans
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --teal-900:#0a2e38; --teal-800:#0d3d4f; --teal-700:#105266;
  --teal-600:#136880; --teal-500:#1a8fa8; --teal-400:#28b5d4;
  --teal-100:#e0f5f9; --teal-50:#f0fbfd;
  --gold:#c9a84c; --gold-lt:#f0d98a;
  --white:#ffffff; --off-white:#f8fafb;
  --grey-100:#eef0f2; --grey-300:#c4cdd4; --grey-500:#7a8a94;
  --grey-700:#3d4f58; --grey-900:#111c22;
  --radius:10px; --radius-lg:18px;
  --shadow-sm:0 2px 8px rgba(10,46,56,.08);
  --shadow-md:0 6px 24px rgba(10,46,56,.12);
  --shadow-lg:0 16px 48px rgba(10,46,56,.18);
  --transition:.25s ease;
  --font-display:'Playfair Display',Georgia,serif;
  --font-body:'DM Sans',sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-body);color:var(--grey-900);background:var(--white);line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.2;color:var(--teal-900)}
h1{font-size:clamp(2rem,5vw,3.5rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.6rem)}
h3{font-size:clamp(1.15rem,2.5vw,1.5rem)}
h4{font-size:1.1rem;font-weight:600}
p{font-size:1rem;color:var(--grey-700)}
.lead{font-size:1.15rem;color:var(--grey-700);max-width:640px}
.section-label{font-family:var(--font-body);font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-500);margin-bottom:.6rem;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 1.5rem}
.section{padding:5rem 0}
.section-alt{background:var(--off-white)}
.section-dark{background:var(--teal-900);color:var(--white)}
.section-dark h2,.section-dark h3,.section-dark p{color:var(--white)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.flex{display:flex}
.flex-center{display:flex;align-items:center;justify-content:center}
.text-center{text-align:center}
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}.mb-3{margin-bottom:3rem}
.gap-1{gap:1rem}.gap-2{gap:2rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-body);font-size:.95rem;font-weight:600;padding:.85rem 2rem;border-radius:50px;cursor:pointer;border:none;transition:var(--transition);white-space:nowrap;text-decoration:none}
.btn-primary{background:var(--teal-500);color:var(--white)}
.btn-primary:hover{background:var(--teal-700);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.btn-outline{background:transparent;border:2px solid var(--teal-500);color:var(--teal-500)}
.btn-outline:hover{background:var(--teal-500);color:var(--white);transform:translateY(-2px)}
.btn-white{background:var(--white);color:var(--teal-800)}
.btn-white:hover{background:var(--teal-100);transform:translateY(-2px)}
.btn-wa{background:#25d366;color:var(--white)}
.btn-wa:hover{background:#1ebe57;transform:translateY(-2px);box-shadow:0 4px 20px rgba(37,211,102,.4)}
.btn-gold{background:var(--gold);color:var(--white)}
.btn-gold:hover{background:#b8923a;transform:translateY(-2px)}
.btn-sm{padding:.6rem 1.4rem;font-size:.88rem}

/* Cards */
.card{background:var(--white);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-sm);border:1px solid var(--grey-100);transition:var(--transition)}
.card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.card-icon{width:52px;height:52px;background:var(--teal-100);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:1.2rem}
.badge{display:inline-block;padding:.3rem .85rem;border-radius:50px;font-size:.78rem;font-weight:600}
.badge-teal{background:var(--teal-100);color:var(--teal-700)}
.badge-gold{background:#fdf3d9;color:#8a6400}
.badge-exclusive{background:var(--gold);color:var(--white)}
.divider{width:60px;height:4px;background:var(--teal-400);border-radius:4px;margin:1rem 0 1.5rem}
.divider-center{margin:1rem auto 1.5rem}
.section-header{margin-bottom:3rem}
.section-header.text-center .divider{margin:1rem auto 1.5rem}

/* Navbar */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--grey-100);transition:box-shadow var(--transition)}
.navbar.scrolled{box-shadow:var(--shadow-md)}
.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:130px;gap:1rem}
.navbar-logo{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.navbar-logo img{height:78px;width:auto}
.logo-name{font-family:var(--font-display);font-size:1.2rem;font-weight:700;color:var(--teal-800);line-height:1.1}
.logo-sub{font-size:.7rem;font-weight:500;color:var(--grey-500);letter-spacing:.08em;text-transform:uppercase}
.nav-links{display:flex;align-items:center;gap:.05rem;justify-content:flex-start;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.nav-links::-webkit-scrollbar{display:none}
.nav-links a{font-size:.74rem;font-weight:500;color:var(--grey-700);padding:.4rem .42rem;border-radius:6px;transition:var(--transition);white-space:nowrap;flex-shrink:0}
.nav-links a:hover,.nav-links a.active{color:var(--teal-600);background:var(--teal-50)}
.nav-cta{display:flex;align-items:center;gap:.4rem;flex-shrink:0}
.nav-cta .btn-sm{padding:.5rem 1rem;font-size:.8rem}
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:.5rem;flex-direction:column;gap:5px}
.hamburger span{display:block;width:24px;height:2px;background:var(--teal-800);border-radius:2px;transition:var(--transition)}
.mobile-menu{display:none;position:fixed;top:130px;left:0;right:0;background:var(--white);border-bottom:1px solid var(--grey-100);padding:1.5rem;flex-direction:column;gap:.5rem;z-index:999;box-shadow:var(--shadow-md)}
.mobile-menu a{font-size:1rem;font-weight:500;color:var(--grey-700);padding:.75rem 1rem;border-radius:var(--radius);display:block;transition:var(--transition)}
.mobile-menu a:hover{background:var(--teal-50);color:var(--teal-600)}
.mobile-menu.open{display:flex}

/* Footer */
.footer{background:var(--teal-900);color:rgba(255,255,255,.75);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:3rem;padding-bottom:3rem}
.footer .logo-name{color:var(--white);font-size:1.3rem}
.footer .logo-sub{color:rgba(255,255,255,.45)}
.footer-brand p{margin-top:1rem;font-size:.9rem;line-height:1.7}
.footer h4{font-family:var(--font-body);font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:1.2rem}
.footer ul li{margin-bottom:.55rem}
.footer ul li a{font-size:.9rem;color:rgba(255,255,255,.7);transition:var(--transition)}
.footer ul li a:hover{color:var(--teal-400)}
.footer-contact a{font-size:.9rem;color:rgba(255,255,255,.7);line-height:2;display:block;transition:var(--transition)}
.footer-contact a:hover{color:var(--teal-400)}
.footer-social{display:flex;gap:.6rem;margin-top:1.25rem}
.footer-social a{width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-size:.9rem;transition:var(--transition)}
.footer-social a:hover{background:var(--teal-500);color:var(--white)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.5rem 0;display:flex;align-items:center;justify-content:space-between;font-size:.82rem;color:rgba(255,255,255,.4);flex-wrap:wrap;gap:.75rem}
.footer-bottom a{color:rgba(255,255,255,.4)}
.footer-bottom a:hover{color:var(--teal-400)}

/* WhatsApp Float */
.wa-float{position:fixed;bottom:2rem;right:2rem;z-index:900;display:flex;flex-direction:column;align-items:flex-end;gap:.75rem}
.wa-bubble{display:flex;align-items:center;gap:.6rem;background:#25d366;color:var(--white);padding:.75rem 1.25rem;border-radius:50px;box-shadow:0 4px 20px rgba(37,211,102,.4);font-size:.9rem;font-weight:600;cursor:pointer;transition:var(--transition);text-decoration:none;animation:pulse 2.5s infinite}
.wa-bubble:hover{background:#1ebe57;transform:scale(1.04);animation:none}
.wa-bubble svg{width:22px;height:22px;fill:currentColor;flex-shrink:0}
@keyframes pulse{0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.4)}50%{box-shadow:0 4px 32px rgba(37,211,102,.7)}}

/* Lead Modal */
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(10,46,56,.65);backdrop-filter:blur(4px);z-index:2000;align-items:center;justify-content:center;padding:1rem}
.modal-overlay.open{display:flex}
.modal-box{background:var(--white);border-radius:var(--radius-lg);padding:2.5rem;max-width:480px;width:100%;position:relative;box-shadow:var(--shadow-lg);animation:modalIn .3s ease}
@keyframes modalIn{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal-close{position:absolute;top:1rem;right:1rem;background:var(--grey-100);border:none;border-radius:50%;width:34px;height:34px;cursor:pointer;font-size:1.1rem;display:flex;align-items:center;justify-content:center;transition:var(--transition)}
.modal-close:hover{background:var(--grey-300)}

/* Forms */
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-size:.88rem;font-weight:600;color:var(--grey-700);margin-bottom:.4rem}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:.8rem 1.1rem;border:1.5px solid var(--grey-300);border-radius:var(--radius);font-family:var(--font-body);font-size:.95rem;color:var(--grey-900);transition:border-color var(--transition);background:var(--white)}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(26,143,168,.1)}
.form-group textarea{resize:vertical;min-height:100px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}

/* Page Hero */
.page-hero{padding-top:calc(72px + 4rem);padding-bottom:4rem;background:linear-gradient(135deg,var(--teal-900) 0%,var(--teal-700) 100%);color:var(--white);position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;top:-80px;right:-80px;width:380px;height:380px;border-radius:50%;background:rgba(255,255,255,.04)}
.page-hero h1,.page-hero p{color:var(--white);position:relative;z-index:1}
.page-hero .lead{color:rgba(255,255,255,.8)}
.page-hero-grid{display:flex;align-items:center;justify-content:space-between;gap:2.5rem;position:relative;z-index:1}
.page-hero-text{flex:1;min-width:0}
.page-hero-illus{flex-shrink:0;width:170px}
.page-hero-illus img{width:100%;height:auto;display:block}
.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:rgba(255,255,255,.6);margin-bottom:1.25rem;position:relative;z-index:1}
.breadcrumb a{color:rgba(255,255,255,.6)}
.breadcrumb a:hover{color:var(--white)}

/* Stats */
.stat-strip{background:var(--white);box-shadow:var(--shadow-md);border-radius:var(--radius-lg);padding:2rem 2.5rem;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.stat-num{font-family:var(--font-display);font-size:2.2rem;font-weight:700;color:var(--teal-600);line-height:1;display:block}
.stat-label{font-size:.82rem;color:var(--grey-500);margin-top:.35rem}

/* Marquee Strip */
.exclusive-strip{background:linear-gradient(90deg,var(--teal-800),var(--teal-600));color:var(--white);padding:.7rem 0;overflow:hidden}
.marquee-track{display:flex;gap:0;animation:marquee 30s linear infinite;white-space:nowrap}
.marquee-inner{display:flex;gap:3rem;flex-shrink:0;padding-right:3rem}
.marquee-inner span{font-size:.82rem;font-weight:500;opacity:.9;flex-shrink:0}
.marquee-inner span::before{content:'●';margin-right:.75rem;color:var(--teal-400)}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* FAQ */
.faq-item{border:1px solid var(--grey-100);border-radius:var(--radius);margin-bottom:.75rem;overflow:hidden}
.faq-q{width:100%;text-align:left;background:var(--white);border:none;padding:1.2rem 1.5rem;font-family:var(--font-body);font-size:.97rem;font-weight:600;color:var(--teal-900);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;transition:background var(--transition)}
.faq-q:hover{background:var(--teal-50)}
.faq-arrow{width:22px;height:22px;border-radius:50%;background:var(--teal-100);display:flex;align-items:center;justify-content:center;font-size:.7rem;color:var(--teal-600);transition:transform var(--transition);flex-shrink:0}
.faq-item.open .faq-arrow{transform:rotate(180deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s ease;padding:0 1.5rem;font-size:.95rem;color:var(--grey-700);line-height:1.7}
.faq-item.open .faq-a{max-height:300px;padding:0 1.5rem 1.25rem}

/* Testimonials */
.testimonial-card{background:var(--white);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-sm);border:1px solid var(--grey-100)}
.stars{color:#f4b401;font-size:1.05rem;margin-bottom:.75rem}
.testimonial-card blockquote{font-style:italic;color:var(--grey-700);font-size:.95rem;line-height:1.7;margin-bottom:1.25rem}
.t-author{display:flex;align-items:center;gap:.75rem}
.t-avatar{width:42px;height:42px;border-radius:50%;background:var(--teal-100);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--teal-700)}
.t-name{font-weight:600;font-size:.9rem}
.t-loc{font-size:.8rem;color:var(--grey-500)}

/* Responsive */
@media(max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}.stat-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.section{padding:3.5rem 0}.grid-2,.grid-3{grid-template-columns:1fr}.grid-4{grid-template-columns:repeat(2,1fr)}.nav-links,.nav-cta{display:none}.hamburger{display:flex}.footer-grid{grid-template-columns:1fr;gap:2rem}.stat-strip{grid-template-columns:1fr 1fr;padding:1.5rem;gap:1.25rem}.form-row{grid-template-columns:1fr}.wa-bubble span{display:none}.wa-bubble{padding:.85rem;border-radius:50%}}
@media(max-width:480px){.grid-4{grid-template-columns:1fr}.stat-strip{grid-template-columns:1fr 1fr}h1{font-size:1.9rem}h2{font-size:1.6rem}}

/* ===== Hero responsive grids ===== */
.hero-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"text illus" "stats stats";gap:3rem 4rem;align-items:center}
.hero-text-content{grid-area:text}
.hero-illus{grid-area:illus}
.hero-illus img{width:100%;height:auto;display:block;max-width:480px;margin:0 auto}
.hero-stats{grid-area:stats;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:1rem}

/* ===== Mobile refinements ===== */
@media(max-width:768px){
  .hero-grid{grid-template-columns:1fr;grid-template-areas:"illus" "text" "stats";gap:2rem}
  .hero-illus img{max-width:380px}
  .hero-stats{grid-template-columns:1fr 1fr;gap:.85rem}
  .hero-stats > div{padding:1.15rem !important}
  .navbar-logo img{height:76px}
  .logo-name{font-size:1.05rem}
  .logo-sub{font-size:.6rem}
  h1{font-size:2rem !important}
  .page-hero{padding-top:calc(72px + 2.5rem);padding-bottom:2.5rem}
  .page-hero-illus{display:none}
  .section{padding:3rem 0}
  .btn{padding:.8rem 1.5rem;font-size:.9rem}
  .modal-box{padding:1.75rem}
  iframe{max-width:100%}
}
@media(max-width:480px){
  .marquee-inner span{font-size:.75rem}
  .footer-grid{gap:1.5rem}
  .footer{padding-top:2.5rem}
  .stat-strip{padding:1.25rem;gap:1rem}
  .stat-num{font-size:1.8rem}
}

/* ===== Authorised Dealer Logos ===== */
.dealer-grid{
  display:flex;flex-wrap:wrap;gap:1.25rem;justify-content:center;
}
.dealer-card{
  flex:1 1 calc(33.333% - 1.25rem);min-width:220px;
  display:flex;align-items:center;justify-content:center;
  background:var(--grey-100);border-radius:14px;
  padding:1.25rem;transition:var(--transition);
}
.dealer-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.dealer-card img{height:115px;width:auto;max-width:90%;object-fit:contain}
@media(max-width:1024px){
  .dealer-card{flex:1 1 calc(50% - 1.25rem)}
}
@media(max-width:600px){
  .dealer-card{flex:1 1 100%;min-width:0}
  .dealer-card img{height:84px}
}

/* ===== Footer Logo — soft blended card ===== */
.footer-logo{
  height:100px;width:auto;
  background:#fff;border-radius:14px;
  padding:.85rem 1.25rem;
  box-shadow:0 4px 16px rgba(0,0,0,.2);
  margin-bottom:1.25rem;display:block;
}
@media(max-width:768px){.footer-logo{height:84px}}
@media(max-width:480px){.footer-logo{height:72px}}

/* ===== Gallery Video Grid - mobile stack ===== */
@media(max-width:768px){
  .section .container > div[style*="repeat(3,1fr)"][style*="aspect-ratio:9/16"]{
    grid-template-columns:1fr !important;
    max-width:380px;margin:0 auto 2rem;
  }
}

/* ============================================
   HOMEPAGE HERO — Zoom + Fade Intro Animation
============================================ */
.hero-animate{
  animation: heroZoomIn 1.1s cubic-bezier(.22,.61,.36,1) both;
  transform-origin: center center;
}
@keyframes heroZoomIn{
  0%   { opacity: 0; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-animate{ animation: none; }
}
