/* ==========================================================================
   Super Surgical Industry — Design System
   Milestone 1: home preview. No inline styles, no negative margins, no !important.
   ========================================================================== */

:root{
  /* Color tokens — deep teal + warm amber */
  --primary:#1C8C99;
  --primary-dark:#114F57;
  --accent:#E8A33D;
  --navy:#0B3B42;
  --ink:#1f2d3d;
  --muted:#5f7877;
  --bg:#ffffff;
  --bg-soft:#F4FAFA;
  --line:#DCEBEA;

  /* Motion — one system, used everywhere */
  --ease:cubic-bezier(.22,.61,.36,1);
  --dur:400ms;

  /* Elevation / shape */
  --radius:14px;
  --radius-sm:8px;
  --shadow-sm:0 2px 10px rgba(11,59,66,.06);
  --shadow-md:0 10px 30px rgba(11,59,66,.10);

  /* Header height, used to offset in-page anchors */
  --header-h:76px;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family:'Inter',sans-serif;
  color:var(--navy);
  font-weight:600;
  margin:0;
}

a{ text-decoration:none; }

img{ max-width:100%; display:block; }

/* Inline line-icon system (replaces the Font Awesome glyph set except the
   WhatsApp brand mark) — one consistent stroke style everywhere. */
.icon{
  width:24px; height:24px;
  display:block; flex-shrink:0;
  stroke:currentColor; fill:none;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
.icon-sm{ width:16px; height:16px; stroke-width:1.8; }

/* css/bootstrap.min.css is a hand-modified vendor file (its own header calls it
   "Customized Bootstrap Stylesheet") that silently rewrites several core defaults:
   .text-white -> gold #FFD700, .btn-primary text -> black, .row gutter -> 0.5rem
   (stock 1.5rem). Restore the values our design system actually relies on here,
   since app.css loads after bootstrap.min.css. */
.text-white{ color:#fff !important; }
.text-primary{ color:var(--primary) !important; }
.bg-primary{ background:var(--primary) !important; }
.row{ --bs-gutter-x:1.5rem; }

/* Fluid type scale — Playfair Display marks major headlines and big figures
   as a deliberate accent; nav/card titles/body/buttons stay on Inter. */
.h-display, .h-1, .h-2{ font-family:'Playfair Display',serif; font-weight:700; }
.h-display{ font-size:clamp(2rem,4.5vw,3.4rem); line-height:1.1; }
.h-1{ font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.2; }
.h-2{ font-size:clamp(1.35rem,2.2vw,1.75rem); line-height:1.3; }
.eyebrow{
  display:inline-block;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.8rem;
  color:var(--primary-dark);
  margin-bottom:.5rem;
}
.lede{ color:var(--muted); font-size:1.05rem; line-height:1.7; }

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */
.section{ padding-top:clamp(3rem,6vw,6rem); padding-bottom:clamp(3rem,6vw,6rem); }
.section-soft{ background:var(--bg-soft); }

.section-head{
  max-width:640px;
  margin:0 0 clamp(2rem,4vw,3rem);
}
.section-head.center{ margin-inline:auto; text-align:center; }

.divider{
  border:none;
  border-top:1px solid var(--line);
  margin:0;
}

/* -------------------------------------------------------------------------
   Motion — reveal-on-scroll + shared hover system
   ------------------------------------------------------------------------- */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--bg);
  border-bottom:1px solid transparent;
  transition:box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled{
  box-shadow:var(--shadow-sm);
  border-bottom-color:var(--line);
}
.site-header .navbar{
  min-height:var(--header-h);
  padding-top:0;
  padding-bottom:0;
}
.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.brand img{ width:46px; height:46px; object-fit:contain; }
.brand-name{
  font-family:'Playfair Display',serif;
  font-weight:700;
  color:var(--navy);
  font-size:1.05rem;
  line-height:1.2;
}
.brand-name small{
  display:block;
  font-weight:500;
  color:var(--muted);
  font-size:.7rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.nav-link{
  color:var(--ink) !important;
  font-weight:600;
  padding:.5rem 1rem !important;
  position:relative;
}
.nav-link.active{ color:var(--primary-dark) !important; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn{
  border-radius:var(--radius-sm);
  font-weight:700;
  transition:transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}
.btn-primary:hover, .btn-primary:focus{
  background:var(--navy);
  border-color:var(--navy);
}

.preview-banner{ background:var(--navy); color:#fff; }

.eyebrow-on-dark{ color:#BEE3E0; }

.phone-link{ color:var(--navy); }
.phone-link:hover{ color:var(--primary-dark); }

.about-photo{
  width:100%;
  aspect-ratio:3/4;
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  overflow:hidden;
  position:relative;
}
.about-photo img{
  position:absolute;
  width:270%;
  max-width:none;
  top:-15%;
  left:0;
}

@media (max-width: 991.98px){
  .site-header .navbar-nav .btn{ padding-block:.75rem; }
}
.btn-outline-light:hover{ transform:translateY(-1px); }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero{
  position:relative;
  min-height:min(78vh,720px);
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-media::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(100deg, rgba(11,59,66,.88) 0%, rgba(11,59,66,.68) 55%, rgba(11,59,66,.55) 100%);
}
.hero-content{
  position:relative;
  z-index:1;
  max-width:640px;
  padding-block:clamp(2rem,6vw,3rem);
}
.hero-content .lede{ color:rgba(255,255,255,.85); }
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:1.75rem;
}

/* -------------------------------------------------------------------------
   Stat strip
   ------------------------------------------------------------------------- */
.stat-strip{
  background:var(--navy);
  color:#fff;
}
.stat{
  text-align:center;
  padding:1.5rem 1rem;
}
.stat-num{
  font-family:'Playfair Display',serif;
  font-weight:700;
  font-size:clamp(1.8rem,3vw,2.6rem);
  color:#fff;
}
.stat-label{
  color:rgba(255,255,255,.7);
  font-size:.85rem;
  letter-spacing:.03em;
  text-transform:uppercase;
}

/* -------------------------------------------------------------------------
   Category grid
   ------------------------------------------------------------------------- */
.category-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.25rem;
}
@media (min-width:768px){
  .category-grid{ grid-template-columns:repeat(3,1fr); }
}
.category-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.9rem;
  padding:1.75rem 1.5rem;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.category-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.category-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--bg-soft);
  color:var(--primary-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.category-card:hover .category-icon{
  background:var(--primary-dark);
  color:#fff;
}
.category-card-img{
  width:100%;
  aspect-ratio:4/3;
  background:var(--bg-soft);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.category-card-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:1rem;
  transition:transform var(--dur) var(--ease);
}
.category-card:hover .category-card-img img{ transform:scale(1.05); }
.category-card h3{ font-size:1.05rem; }
.category-card .cta-link{
  margin-top:auto;
  font-size:.85rem;
  font-weight:700;
  color:var(--primary-dark);
}

/* -------------------------------------------------------------------------
   Product grid (featured, home page)
   ------------------------------------------------------------------------- */
.product-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}
@media (min-width:768px){
  .product-grid{ grid-template-columns:repeat(3,1fr); }
}
.product-card{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
}
.product-card-img{
  aspect-ratio:4/3;
  background:var(--bg-soft);
  overflow:hidden;
}
.product-card-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:1rem;
  transition:transform var(--dur) var(--ease);
}
.product-card:hover .product-card-img img{ transform:scale(1.05); }
.product-card-body{
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  gap:.6rem;
  flex:1;
}
.product-card-body p{ color:var(--muted); font-size:.92rem; line-height:1.55; margin:0; flex:1; }
.product-card-body h3{ font-size:1.05rem; }

.cta-tile{
  border-radius:var(--radius);
  background:var(--primary-dark);
  color:#fff;
  padding:2rem 1.5rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:.75rem;
}
.cta-tile h3{ color:#fff; }
.cta-tile p{ color:rgba(255,255,255,.85); margin:0; }
.cta-tile .btn{ background:#fff; border-color:#fff; color:var(--primary-dark); }
.cta-tile .btn:hover{ background:rgba(255,255,255,.9); border-color:rgba(255,255,255,.9); color:var(--primary-dark); }

/* -------------------------------------------------------------------------
   Feature cards (Why Choose Us)
   ------------------------------------------------------------------------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}
@media (min-width:768px){
  .feature-grid{ grid-template-columns:repeat(4,1fr); }
}
.feature-card{
  padding:1.75rem 1.5rem;
  border-radius:var(--radius);
  background:var(--bg);
  border:1px solid var(--line);
  transition:box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.feature-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--bg-soft);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
}
.feature-card h3{ font-size:1.05rem; margin-bottom:.4rem; }
.feature-card p{ color:var(--muted); font-size:.92rem; line-height:1.55; margin:0; }
.feature-card:hover .feature-icon{ background:var(--accent); color:#fff; }

/* -------------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------------- */
.testimonial-track{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
}
.testimonial-card{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.75rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.testimonial-quote{
  color:var(--ink);
  font-size:.95rem;
  line-height:1.7;
  margin:0;
}
.testimonial-quote::before{ content:'\201C'; color:var(--primary); font-weight:700; }
.testimonial-quote::after{ content:'\201D'; color:var(--primary); font-weight:700; }
.testimonial-meta{
  display:flex;
  align-items:center;
  gap:.85rem;
  padding-top:1rem;
  border-top:1px solid var(--line);
}
.testimonial-meta img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
}
.testimonial-meta h4{ font-size:.95rem; margin:0; }
.testimonial-meta small{ color:var(--muted); text-transform:uppercase; letter-spacing:.03em; font-size:.72rem; }

/* -------------------------------------------------------------------------
   Certification strip
   ------------------------------------------------------------------------- */
.cert-strip{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:clamp(1.25rem,3vw,2rem);
}
.cert-badge{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:12px;
  width:150px;
  height:90px;
  padding:.9rem 1.4rem;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow-md);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cert-badge:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md), 0 0 0 1px var(--line); }
.cert-strip img{
  max-height:52px;
  max-width:110px;
  object-fit:contain;
}

/* -------------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------------- */
.cta-band{
  background:var(--navy);
  color:#fff;
  border-radius:var(--radius);
  padding:clamp(2rem,5vw,3rem);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
}
.cta-band h2{ color:#fff; font-family:'Playfair Display',serif; font-size:clamp(1.3rem,2.5vw,1.75rem); }
.cta-band p{ color:rgba(255,255,255,.75); margin:.4rem 0 0; }
.cta-band-phone{
  color:#fff;
  font-family:'Playfair Display',serif;
  font-weight:700;
  font-size:clamp(1.3rem,2.5vw,1.75rem);
  display:flex;
  align-items:center;
  gap:.6rem;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer{
  background:var(--navy);
  color:rgba(255,255,255,.85);
}
.site-footer h5{
  color:#fff;
  font-size:.95rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:1.1rem;
}
.site-footer a{
  color:rgba(255,255,255,.75);
  transition:color var(--dur) var(--ease);
}
.site-footer a:hover{ color:#fff; }
.site-footer .footer-links{
  display:flex;
  flex-direction:column;
  gap:.6rem;
}
.footer-brand-mark{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:1rem;
}
.footer-brand-mark img{ width:38px; height:38px; }
.footer-brand-mark span{ color:#fff; font-family:'Playfair Display',serif; font-weight:700; }
.social-icons{ display:flex; gap:.6rem; margin-top:1.25rem; }
.social-icons a{
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  transition:background-color var(--dur) var(--ease);
}
.social-icons a:hover{ background:var(--primary); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:1.25rem 0;
  text-align:center;
  font-size:.85rem;
  color:rgba(255,255,255,.6);
}

@media (max-width: 575.98px){
  .site-footer{ padding-bottom:9rem; }
}

/* -------------------------------------------------------------------------
   Floating controls
   ------------------------------------------------------------------------- */
.floatbtn{
  position:fixed;
  right:1.25rem;
  bottom:1.25rem;
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow-md);
  z-index:900;
  transition:transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.floatbtn-whatsapp{
  background:#25D366;
  color:#fff;
  font-size:1.5rem;
}
.floatbtn-whatsapp:hover{ transform:translateY(-3px); color:#fff; }
.floatbtn-top{
  right:1.25rem;
  bottom:5.25rem;
  background:var(--navy);
  color:#fff;
  opacity:0;
  pointer-events:none;
}
.floatbtn-top.is-visible{ opacity:1; pointer-events:auto; }
.floatbtn-top:hover{ transform:translateY(-3px); color:#fff; }

@media (max-width: 575.98px){
  .floatbtn{ width:46px; height:46px; }
  .floatbtn-whatsapp{ font-size:1.3rem; }
}
