/* =======================================================
   Faiz, Azrina & Co. — Streamlined site stylesheet
   ======================================================= */
/* =========================
   TYPOGRAPHY SYSTEM (FACO)
   Headings: Playfair Display
   Body/UI:  Inter
   Colors:   Respect existing site colors (no changes here)
   ========================= */

:root{
  /* Base sizing */
  --font-size-min: 15px;   /* tighter than default */
  --font-size-max: 16.5px; /* scales slightly on large screens */

  /* Fluid base (applies to body) */
  --font-size-fluid: clamp(var(--font-size-min), 1.1vw + 12px, var(--font-size-max));

  /* Line heights */
  --lh-body: 1.65;
  --lh-heading: 1.2;

  /* Heading scale (fluid with clamp) */
  --h1: clamp(1.9rem, 2.4vw + 1rem, 2.6rem);
  --h2: clamp(1.5rem, 1.6vw + 1rem, 2.0rem);
  --h3: clamp(1.25rem, 1.0vw + 0.9rem, 1.5rem);
  --h4: clamp(1.1rem, 0.7vw + 0.9rem, 1.25rem);

  /* UI text sizes */
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-md: 0.95rem; /* default paragraphs/labels/links */
  --text-lg: 1.05rem; /* lead text */

  /* Letter-spacing (subtle refinement) */
  --track-body: 0.01em;
  --track-heading: 0.005em;

  /* Rhythm */
  --space-1: 0.5rem;
  --space-2: 0.8rem;
  --space-3: 1.2rem;
  --space-4: 1.8rem;
  --space-5: 2.4rem;
}

/* Base font stack */
html { font-size: 100%; } /* keep predictable rems */
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: var(--font-size-fluid);
  line-height: var(--lh-body);
  letter-spacing: var(--track-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: "Playfair Display", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: var(--track-heading);
  color: inherit; /* keep your existing color scheme */
  margin: 0 0 var(--space-2);
}

h1 { font-size: var(--h1); margin-top: var(--space-3); }
h2 { font-size: var(--h2); margin-top: var(--space-3); }
h3 { font-size: var(--h3); margin-top: var(--space-2); }
h4 { font-size: var(--h4); margin-top: var(--space-2); }

/* Paragraphs & lists */
p, li { font-size: var(--text-md); }
p + p { margin-top: var(--space-2); }

.lead { font-size: var(--text-lg); line-height: 1.6; }
.muted { opacity: .82; }

/* Small/Legal text */
.small, small, .legal { font-size: var(--text-xs); line-height: 1.55; }

/* Links — keep color, only tidy the sizing/weight */
a { font-size: var(--text-md); font-weight: 500; text-underline-offset: 2px; }

/* Buttons */
button, .btn, input[type="submit"] {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

/* Forms */
label { font-size: 0.9rem; font-weight: 600; }
input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Nav & Footer */
.nav a, nav a { font-size: 0.95rem; font-weight: 600; }
footer { font-size: 0.9rem; }
footer .legal { font-size: 0.8rem; }

/* Card/article spacing – gentle tightening */
section { margin: var(--space-4) 0; }
.card, article, .container { padding: var(--space-3); }

/* Utility helpers */
.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: var(--text-xs);
  opacity: .9;
}
.kicker { font-size: var(--text-sm); font-weight: 600; opacity: .9; }

/* FAQ accordion titles (if any) – readable but compact */
.faq h3, .accordion button {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  line-height: 1.3;
}

/* Tables (calculators/results), keep numbers snug */
table { font-size: 0.94rem; }
th { font-weight: 700; }
td, th { padding: 0.6rem 0.8rem; }

/* Mobile refinements */
@media (max-width: 640px) {
  :root{
    --space-3: 1rem;
    --space-4: 1.4rem;
    --space-5: 1.8rem;
  }
  .nav a, nav a { font-size: 0.92rem; }
  button, .btn, input[type="submit"] { font-size: 0.93rem; }
}

/* If any previous rules force bigger type, ensure our system wins */
h1,h2,h3,h4,p,li,a,button,label,input,select,textarea,small,footer,nav { 
  /* Only sizing/face override; colors remain yours */
  color: inherit;
}

/* Theme tokens */
:root{
  --bg:#f7fafc;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#64748b;
  --brand:#0ea5e9;
  --brand2:#38bdf8;
  --ring: rgba(14,165,233,.14);
  --shadow-sm: 0 6px 18px rgba(2,6,23,.06);
  --shadow-md: 0 12px 36px rgba(2,6,23,.08);
  --radius: 12px;
  --space: 16px;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: inherit;
}

h1 { font-size: 2rem; }     /* About 32px */
h2 { font-size: 1.5rem; }   /* About 24px */
h3 { font-size: 1.25rem; }  /* About 20px */
p, li, label, input, a {
  font-size: 0.95rem;       /* Around 15px for better reading */
}

section {
  margin: 2rem 0;
}

.card, article, .container {
  padding: 1.2rem;
}


/* Base */
*{ box-sizing: border-box; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--text); font:16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
a{ color:var(--brand); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Layout */
- .container{ width:100%; max-width:1100px; margin:0 auto; padding:0 24px; }
+ .container{ width:100%; max-width:1400px; margin:0 auto; padding:0 24px; }
.section{ padding:28px 0; }
.grid{ display:grid; gap:20px; }

/* Header */
header{ width:100%; background: rgba(255,255,255,.92); border-bottom:1px solid rgba(2,6,23,.04); backdrop-filter: blur(6px); }
header .container{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 24px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{ height:72px; width:auto; display:block; }
.brand-text{ font-weight:800; font-size:22px; background:linear-gradient(90deg,var(--brand),var(--brand2)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* Nav */
nav ul{ display:flex; gap:20px; margin:0; padding:0; list-style:none; align-items:center; }
nav a{ display:inline-block; padding:10px 12px; border-radius:10px; color:var(--brand); }
nav a.active, nav a:hover{ background: rgba(2,6,23,.04); text-decoration:none; color:var(--brand); }
.menu-toggle{ display:none; }

/* Hero */
.hero{ margin:48px 0; text-align:center; }
.hero .hero-inner{ max-width:880px; margin:0 auto; padding:0 12px; }
.kicker{ font-size:.9rem; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.hero h1{ margin:0 0 10px; font-size:clamp(30px,4.2vw,48px); background:linear-gradient(90deg,var(--brand),var(--brand2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead{ color:var(--muted); max-width:60ch; margin:0 auto 18px; }

/* Buttons */
.btn{ display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border-radius:999px; border:1px solid var(--ring); color:var(--text); background:transparent; cursor:pointer; text-decoration:none; }
.btn.primary{ background:linear-gradient(90deg,var(--brand),var(--brand2)); color:#fff; border:none; font-weight:700; box-shadow:0 8px 24px rgba(14,165,233,.12); }
.btn:focus{ outline:none; box-shadow:0 0 0 6px var(--ring); }
.btn:active{ transform: translateY(1px) scale(.998); }

/* Team */
.team{ text-align:center; }
.team h2{ margin:0 0 14px; font-size:clamp(22px,2.4vw,28px); }
.team-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:24px; justify-items:center; }
.person{ width:100%; max-width:340px; background:var(--card); border:1px solid rgba(2,6,23,.06); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .22s ease, box-shadow .22s ease; }
.person:hover{ transform: translateY(-6px); box-shadow:var(--shadow-md); }
.person img{ width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.person figcaption{ padding:14px 16px; text-align:left; }
.person .name{ font-weight:800; margin-bottom:6px; }
.person .role{ color:var(--muted); }

/* Doc card */
.doc-card{ width:100%; max-width:1000px; margin:24px auto; background:var(--card); border:1px solid rgba(2,6,23,.06); border-radius:16px; box-shadow:var(--shadow-sm); overflow:hidden; }
.doc-card__head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-bottom:1px solid rgba(2,6,23,.08); }
.doc-title{ font-weight:700; }
.doc-meta{ color:var(--muted); font-size:.9rem; }
.doc-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.doc-view{ background:#f1f5f9; }
.doc-view object{ width:100%; height:70vh; border:0; display:block; }

/* Contact */
.contact-block .address{ font-style:normal; line-height:1.6; margin:6px 0 16px; }
.contact-block .contact-list{ list-style:none; padding-left:0; margin:12px 0 0; }
.contact-block .contact-list li{ display:flex; gap:16px; margin:10px 0; align-items:flex-start; }
.contact-block .contact-list li span{ width:220px; color:var(--muted); font-weight:600; }
.contact-block a{ font-weight:600; }

/* Footer */
footer{ padding:36px 0; color:var(--muted); text-align:center; }
.footer-actions{ display:flex; justify-content:center; gap:12px; margin-top:12px; flex-wrap:wrap; }

/* WhatsApp circular FAB (icon-only) */
.whatsapp-fab{
  position:fixed;
  right:22px;
  bottom:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #3EE88A 0%, #25D366 35%, #128C7E 100%);
  color:#fff;
  text-decoration:none;
  box-shadow: 0 12px 30px rgba(18,140,126,.18), inset 0 2px 6px rgba(255,255,255,.06);
  z-index:1000;
  transition: transform .12s ease, box-shadow .12s ease;
  padding:0;
  border:0;
}
.whatsapp-fab:hover{ transform: translateY(-6px) scale(1.03); box-shadow: 0 22px 48px rgba(18,140,126,.22); }
.whatsapp-fab:active{ transform: translateY(-2px) scale(.99); }
.whatsapp-fab .wa-icon{ width:32px; height:32px; display:block; color:#ffffff; }
.whatsapp-fab .wa-label{ display:none !important; }

/* small-screen adjustment if you want slightly smaller FAB */
@media (max-width:420px){
  .whatsapp-fab{ width:52px; height:52px; right:16px; bottom:16px; }
  .whatsapp-fab .wa-icon{ width:26px; height:26px; }
}
/* Forms */
form .field{ display:grid; gap:6px; margin-bottom:14px; }
input, textarea{ background:#fff; color:var(--text); border:1px solid rgba(2,6,23,.08); border-radius:12px; padding:12px; }
input:focus, textarea:focus{ outline:none; box-shadow:0 0 0 6px var(--ring); }

/* Resources page styles (required block) */
.resources {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
}
.resources h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 8px; }
.resources p { color: #555; max-width: 720px; margin: 0 auto 28px; }
.resources h2 { font-size: 1.25rem; margin: 36px 0 16px; }
.resources .download-list {
  list-style: none; padding: 0; margin: 0 auto 24px;
  display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 680px;
}
.resources .download-link {
  display: inline-block; padding: 12px 16px; border: 1px solid #e5e7eb;
  border-radius: 10px; text-decoration: none; background: #f9fafb;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.resources .download-link:hover {
  background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.06); transform: translateY(-2px);
}
.resources .video-list {
  display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 860px; margin: 20px auto 0;
}
.resources .video-list iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; background: #000;
}
@media (min-width: 640px) {
  .resources .download-list { grid-template-columns: 1fr 1fr; }
  .resources .video-list    { grid-template-columns: 1fr 1fr; }
}

/* Responsive tweaks */
@media (max-width:900px){
  .brand-logo{ height:56px; }
  .brand-text{ font-size:18px; }
  .doc-view object{ height:56vh; }
  .menu-toggle{ display:block; }
  header .container{ flex-wrap:wrap; gap:8px; }
}
```// filepath: c:\Users\PC\Desktop\simple-website-starter\style.css
/* =======================================================
   Faiz, Azrina & Co. — Streamlined site stylesheet
   ======================================================= */

/* Theme tokens */
:root{
  --bg:#f7fafc;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#64748b;
  --brand:#0ea5e9;
  --brand2:#38bdf8;
  --ring: rgba(14,165,233,.14);
  --shadow-sm: 0 6px 18px rgba(2,6,23,.06);
  --shadow-md: 0 12px 36px rgba(2,6,23,.08);
  --radius: 12px;
  --space: 16px;
}

/* Base */
*{ box-sizing: border-box; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--text); font:16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
a{ color:var(--brand); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Layout */
.container{ width:100%; max-width:1100px; margin:0 auto; padding:0 24px; }
.section{ padding:28px 0; }
.grid{ display:grid; gap:20px; }

/* Header */
header{ width:100%; background: rgba(255,255,255,.92); border-bottom:1px solid rgba(2,6,23,.04); backdrop-filter: blur(6px); }
header .container{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 24px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{ height:72px; width:auto; display:block; }
.brand-text{ font-weight:800; font-size:22px; background:linear-gradient(90deg,var(--brand),var(--brand2)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* Nav */
nav ul{ display:flex; gap:20px; margin:0; padding:0; list-style:none; align-items:center; }
nav a{ display:inline-block; padding:10px 12px; border-radius:10px; color:var(--brand); }
nav a.active, nav a:hover{ background: rgba(2,6,23,.04); text-decoration:none; color:var(--brand); }
.menu-toggle{ display:none; }

/* Hero */
.hero{ margin:48px 0; text-align:center; }
.hero .hero-inner{ max-width:880px; margin:0 auto; padding:0 12px; }
.kicker{ font-size:.9rem; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.hero h1{ margin:0 0 10px; font-size:clamp(30px,4.2vw,48px); background:linear-gradient(90deg,var(--brand),var(--brand2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead{ color:var(--muted); max-width:60ch; margin:0 auto 18px; }

/* Buttons */
.btn{ display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border-radius:999px; border:1px solid var(--ring); color:var(--text); background:transparent; cursor:pointer; text-decoration:none; }
.btn.primary{ background:linear-gradient(90deg,var(--brand),var(--brand2)); color:#fff; border:none; font-weight:700; box-shadow:0 8px 24px rgba(14,165,233,.12); }
.btn:focus{ outline:none; box-shadow:0 0 0 6px var(--ring); }
.btn:active{ transform: translateY(1px) scale(.998); }

/* Team */
.team{ text-align:center; }
.team h2{ margin:0 0 14px; font-size:clamp(22px,2.4vw,28px); }
.team-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:24px; justify-items:center; }
.person{ width:100%; max-width:340px; background:var(--card); border:1px solid rgba(2,6,23,.06); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .22s ease, box-shadow .22s ease; }
.person:hover{ transform: translateY(-6px); box-shadow:var(--shadow-md); }
.person img{ width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.person figcaption{ padding:14px 16px; text-align:left; }
.person .name{ font-weight:800; margin-bottom:6px; }
.person .role{ color:var(--muted); }

/* Doc card */
.doc-card{ width:100%; max-width:1000px; margin:24px auto; background:var(--card); border:1px solid rgba(2,6,23,.06); border-radius:16px; box-shadow:var(--shadow-sm); overflow:hidden; }
.doc-card__head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-bottom:1px solid rgba(2,6,23,.08); }
.doc-title{ font-weight:700; }
.doc-meta{ color:var(--muted); font-size:.9rem; }
.doc-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.doc-view{ background:#f1f5f9; }
.doc-view object{ width:100%; height:70vh; border:0; display:block; }

/* Contact */
.contact-block .address{ font-style:normal; line-height:1.6; margin:6px 0 16px; }
.contact-block .contact-list{ list-style:none; padding-left:0; margin:12px 0 0; }
.contact-block .contact-list li{ display:flex; gap:16px; margin:10px 0; align-items:flex-start; }
.contact-block .contact-list li span{ width:220px; color:var(--muted); font-weight:600; }
.contact-block a{ font-weight:600; }

/* Footer */
footer{ padding:36px 0; color:var(--muted); text-align:center; }
.footer-actions{ display:flex; justify-content:center; gap:12px; margin-top:12px; flex-wrap:wrap; }

/* WhatsApp FAB */
.whatsapp-fab{ position:fixed; right:22px; bottom:22px; display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:999px; background:#22c55e; color:#fff; font-weight:700; box-shadow:0 10px 25px rgba(37,211,102,.35); text-decoration:none; z-index:1000; }

/* Forms */
form .field{ display:grid; gap:6px; margin-bottom:14px; }
input, textarea{ background:#fff; color:var(--text); border:1px solid rgba(2,6,23,.08); border-radius:12px; padding:12px; }
input:focus, textarea:focus{ outline:none; box-shadow:0 0 0 6px var(--ring); }

/* Resources page styles (required block) */
.resources {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
}
.resources h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 8px; }
.resources p { color: #555; max-width: 720px; margin: 0 auto 28px; }
.resources h2 { font-size: 1.25rem; margin: 36px 0 16px; }
.resources .download-list {
  list-style: none; padding: 0; margin: 0 auto 24px;
  display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 680px;
}
.resources .download-link {
  display: inline-block; padding: 12px 16px; border: 1px solid #e5e7eb;
  border-radius: 10px; text-decoration: none; background: #f9fafb;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.resources .download-link:hover {
  background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.06); transform: translateY(-2px);
}
.resources .video-list {
  display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 860px; margin: 20px auto 0;
}
.resources .video-list iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; background: #000;
}
@media (min-width: 640px) {
  .resources .download-list { grid-template-columns: 1fr 1fr; }
  .resources .video-list    { grid-template-columns: 1fr 1fr; }
}

/* Responsive tweaks */
@media (max-width:900px){
  .brand-logo{ height:56px; }
  .brand-text{ font-size:18px; }
  .doc-view object{ height:56vh; }
  .menu-toggle{ display:block; }
  header .container{ flex-wrap:wrap; gap:8px; }
}
/* Social buttons inside the contact list */
.contact-list .socials{
  display:flex; gap:12px; flex-wrap:wrap; margin-top:8px;
}
.contact-list .social-link{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:#f7fbff; border:1px solid #cfe6ff; color:#0b4980;
  font-weight:600; text-decoration:none;
}
.contact-list .social-link:hover{ background:#e9f3ff; }
.contact-list .social-link .icon{ width:16px; height:16px; }
.contact-list .socials-row{ margin-top:6px; }
.resources h1 { 
  font-size: 2rem; 
  line-height: 1.2; 
  margin-bottom: 8px; 
  color: #0ea5e9; /* sky blue */
}.team-grid{
  display:flex;
  gap:24px;
  align-items:stretch;
  overflow-x:auto;                 /* allow horizontal scroll on narrow viewports */
  padding-bottom:8px;
  -webkit-overflow-scrolling: touch;
}

/* fixed card width so they line up in a single row */

.person{
flex: 0 0 340px;                 /* slightly larger card */
width: 340px;
max-width: 340px;
background:var(--card);
border:1px solid rgba(2,6,23,.06);
border-radius:var(--radius);
overflow:hidden;
box-shadow:var(--shadow-sm);
}

/* On wide screens fit four cards across (no scroll) */
@media (min-width:1100px){
  .team-grid{
    overflow-x:visible;
    justify-content:space-between;
  }
  .person{
    flex: 0 1 calc((100% - 3*24px) / 4); /* four items per row */
    width:auto;
    max-width:none;
  }
}
/* --- Mobile foundations --- */
:root {
  --container: 1100px;
}

html { scroll-behavior: smooth; }
body {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
img, video, svg { max-width: 100%; height: auto; display: block; }

/* Better tap targets */
button, .btn, a.button, .whatsapp-btn { min-height: 44px; padding: 10px 14px; }

/* Responsive embeds (YouTube, maps) */
.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;      /* modern */
  background: #0002;
  overflow: hidden;
  border-radius: 12px;
}
.embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Small-screen tweaks */
@media (max-width: 640px) {
  header .nav { gap: 10px; }
  h1 { font-size: clamp(24px, 6vw, 36px); }
  h2 { font-size: clamp(20px, 5vw, 28px); }
  .grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
}
/* ensure default FAB stays visible above content */
.whatsapp-fab{
  position:fixed;
  right:22px;
  bottom:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #3EE88A 0%, #25D366 35%, #128C7E 100%);
  color:#fff;
  text-decoration:none;
  box-shadow: 0 12px 30px rgba(18,140,126,.18), inset 0 2px 6px rgba(255,255,255,.06);
  z-index:1000;
  transition: transform .12s ease, box-shadow .12s ease, bottom .18s ease;
  padding:0;
  border:0;
}

/* WhatsApp floating button using 3D image */
.whatsapp-fab{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1000;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:64px;           /* tweak 56–72px as you like */
  height:64px;
  border-radius:20px;   /* rounded square like the icon */
  background:transparent;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  padding:0;
  border:0;
}

/* make the JPG fill the pill nicely */
.whatsapp-fab .wa-icon-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:inherit;
}


.brand-link{
  display:flex;
  align-items:center;
  gap:.6rem;
  text-decoration:none;
  color:inherit;
}

.brand-link img{ display:block; height:48px; width:auto; }

.brand-text{
  font-weight:800;
  font-size:1.15rem;
  line-height:1;
  color:var(--brand2);
}

/* main nav */
.main-nav ul{
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:center;
}

.main-nav a{
  color:var(--brand);
  padding:10px 14px;
  border-radius:12px;
  display:inline-block;
  text-decoration:none;
}

.main-nav a.active,
.main-nav a:hover{
  background:var(--panel);
  box-shadow:var(--shadow-sm);
  color:var(--brand2);
}

/* responsive */
@media(max-width:880px){
  .container.nav{ flex-direction:column; align-items:flex-start; }
  .main-nav ul{ flex-wrap:wrap; gap:10px; }
}
#instant-quote { position: relative; }
#send-quote { position: relative; z-index: 10; pointer-events: auto; display: inline-block; }
/* Row 2 default: single column (mobile) */
.grid.two-col { grid-template-columns: 1fr; }

.grid.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
/* Row 2 layout: stack on mobile, two columns from 760px up */
main .grid.two-col { 
  grid-template-columns: 1fr !important;
}

/* Switch to side-by-side earlier than the global 900px rule */
@media (min-width: 760px) {
  main .grid.two-col { 
    grid-template-columns: 1fr 1fr !important;
    align-items: start;
    gap: 1rem; /* keep spacing tidy */
  }
}
/* --- Soft visual polish: spacing, shadows, transitions --- */
:root{
  --soft-bg-start:#f7fbfe;
  --soft-bg-end:#f3f7fb;
  --card-shadow: 0 8px 20px rgba(9,30,66,0.06);
  --card-shadow-hover: 0 16px 38px rgba(9,30,66,0.08);
}

/* gentle page background */
body{
  background: linear-gradient(180deg,var(--soft-bg-start),var(--soft-bg-end));
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* cards: more padding, softer corners, lift on hover, subtle entrance */
.card{
  border-radius:16px;
  padding:1.25rem;
  box-shadow:var(--card-shadow);
  transition: transform .20s ease, box-shadow .20s ease;
  will-change: transform;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
  border: 1px solid rgba(2,6,23,0.04);
  opacity:0;
  transform: translateY(6px);
  animation: panel-pop .36s ease forwards;
}
@keyframes panel-pop { to{ opacity:1; transform:none } }
.card:hover{ transform: translateY(-6px); box-shadow:var(--card-shadow-hover); }

/* hero: softer hierarchy */
.page-hero{ padding:3.6rem 1rem 2.2rem; }
.page-hero .muted{ color:#667085; }
.page-hero h1{ font-weight:800; letter-spacing:-0.02em; }

/* inputs / selects / textarea: subtle depth and focus */
input, select, textarea{
  background:#fff;
  border:1px solid rgba(15,23,42,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  transition: box-shadow .18s ease, border-color .18s ease, transform .12s ease;
}
input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: rgba(14,165,233,0.9); /* brand-ish */
  box-shadow: 0 8px 18px rgba(14,165,233,0.10);
  transform: translateY(-1px);
}

/* buttons: softer pill, hover states */
.button.primary, button.primary{
  border-radius:12px;
  padding:.6rem .95rem;
  box-shadow: 0 6px 18px rgba(14,165,233,0.12);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.button.primary:hover, button.primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14,165,233,0.14);
}

/* nav: balance and slight elevation */
.container.nav{ padding:16px 20px; }
.brand-text{ font-weight:800; font-size:1.2rem; color:var(--brand2); }
.brand-link img{ height:52px; }

/* nav links: subtle hover */
.main-nav a{
  padding:8px 12px;
  border-radius:12px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.main-nav a:hover{ transform: translateY(-3px); box-shadow: 0 8px 20px rgba(2,6,23,0.04); }

/* whatsapp fab: friendlier */
.whatsapp-fab{
  box-shadow: 0 12px 30px rgba(37,128,74,0.18);
  transition: transform .12s ease, box-shadow .12s ease;
  border-radius:14px;
}
.whatsapp-fab:hover{ transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(37,128,74,0.20); }

/* small screens: increase touch targets */
@media (max-width:760px){
  .card{ padding:1.1rem; border-radius:14px; }
  .button.primary, button.primary{ padding:.72rem 1rem; }
}

/* accessibility: focus-visible outlines */
:focus{ outline: none; }
:focus-visible{ outline: 3px solid rgba(14,165,233,0.18); outline-offset:3px; }

/* end soft polish */

/* --- Refined soft UI: typography, colour, motion, micro-interactions --- */
:root{
  /* brand */
  --brand-500: #06aeee;
  --brand-600: #009fdf;
  --brand-700: #0b76b8;
  --muted-600: #667085;
  --bg-100: #f6f9fb;
  --card-bg: rgba(255,255,255,0.98);
  --glass: rgba(255,255,255,0.6);
  --radius-lg: 16px;
  --radius-md: 12px;
  --elev-sm: 0 8px 20px rgba(9,30,66,0.06);
  --elev-md: 0 14px 36px rgba(9,30,66,0.08);
  --ani-fast: 160ms;
  --ani-medium: 260ms;
}

/* base & layout */
html,body{ height:100%; }
body{
  background: linear-gradient(180deg,var(--bg-100),#f3f6f9);
  color: #0b1220;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height:1.45;
}

/* container max width for calmer central layout */
.container{ max-width:1100px; margin:0 auto; padding:0 18px; }

/* typography hierarchy */
h1{ font-size:clamp(1.6rem,3.2vw,2.6rem); font-weight:800; letter-spacing:-0.02em; margin:.25rem 0 .6rem; }
h2{ font-size:1.05rem; font-weight:700; margin:0 0 .6rem; }
.muted{ color:var(--muted-600); opacity:0.95; }

/* cards: softer rounded corners, lifted shadows, subtle pop */
.card{
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding:1.25rem;
  border: 1px solid rgba(6,10,15,0.04);
  box-shadow: var(--elev-sm);
  transition: transform var(--ani-medium) ease, box-shadow var(--ani-medium) ease;
  will-change: transform;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--elev-md); }

/* gentle entrance for cards */
@keyframes fadeUp { from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none; } }
.card{ animation: fadeUp .34s var(--ani-medium) both; }

/* forms: soft inputs, elevated focus, floating feel */
input, select, textarea{
  background:#fff;
  border:1px solid rgba(12,18,28,0.06);
  border-radius: 12px;
  padding:.68rem;
  transition: border-color var(--ani-fast) ease, box-shadow var(--ani-fast) ease, transform var(--ani-fast) ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  font: inherit;
}
input::placeholder, textarea::placeholder{ color: #9aa5b2; opacity:1; }
input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: color-mix(in srgb, var(--brand-500) 85%, transparent);
  box-shadow: 0 10px 30px rgba(6,174,255,0.08);
  transform: translateY(-2px);
}

/* labels: subtle tone */
label{ color:var(--muted-600); font-size:.95rem; display:block; margin-bottom:.35rem; }

/* rows: more breathing room */
.row{ display:grid; grid-template-columns:1fr 1fr; gap:.9rem; align-items:start; }

/* buttons: pill shape, soft gradient and press state */
.button.primary, button.primary{
  background: linear-gradient(180deg,var(--brand-500),var(--brand-600));
  color:#fff;
  border:0;
  border-radius:var(--radius-md);
  padding:.62rem .9rem;
  box-shadow: 0 8px 26px rgba(6,174,255,0.12);
  transition: transform var(--ani-fast) ease, box-shadow var(--ani-fast) ease, opacity var(--ani-fast) ease;
  cursor:pointer;
}
.button.primary:active, button.primary:active{ transform: translateY(1px) scale(.998); box-shadow: 0 6px 18px rgba(6,174,255,0.10); }
.button.primary[disabled]{ opacity:.6; cursor:not-allowed; }

/* secondary controls */
button.ghost, .button.ghost{
  background: #fff;
  border:1px solid rgba(12,18,28,0.06);
  box-shadow:none;
}

/* nav: softer spacing and hovered lift */
.container.nav{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:18px 12px; }
.brand-link{ display:flex; align-items:center; gap:.7rem; text-decoration:none; color:inherit; }
.brand-text{ font-weight:800; font-size:1.15rem; color:var(--brand-700); }
.main-nav ul{ display:flex; gap:14px; margin:0; padding:0; list-style:none; align-items:center; }
.main-nav a{ color:var(--brand-600); padding:8px 12px; border-radius:12px; text-decoration:none; transition: transform var(--ani-fast) ease, box-shadow var(--ani-fast) ease, background var(--ani-fast) ease; }
.main-nav a:hover{ transform: translateY(-3px); box-shadow: 0 10px 20px rgba(2,6,23,0.04); background: rgba(6,174,255,0.04); }

/* subtle link focus underline animation */
a{ position:relative; }
a::after{ content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: linear-gradient(90deg,var(--brand-500),var(--brand-700)); transition: width .26s ease; border-radius:2px; }
a:hover::after{ width:100%; }

/* whatsapp floating button: friendly pill with label */
.whatsapp-fab{
  display:inline-flex; gap:.6rem; align-items:center; padding:.6rem .8rem;
  background: linear-gradient(180deg,#25d366,#1da851); color:#fff; text-decoration:none;
  border-radius:14px; box-shadow: 0 18px 40px rgba(37,128,74,0.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-fab:hover{ transform: translateY(-6px); box-shadow: 0 26px 56px rgba(37,128,74,0.2); }

/* smaller screens: touch-friendly targets and stacked layout */
@media (max-width:760px){
  .row{ grid-template-columns:1fr; gap:.7rem; }
  .page-hero{ padding:2.4rem 1rem 1.2rem; text-align:left; }
  .container.nav{ flex-direction:column; align-items:flex-start; gap:.6rem; }
  .brand-link img{ height:44px; }
}

/* accessibility outlines */
:focus{ outline: none; }
:focus-visible{ outline: 3px solid rgba(6,174,255,0.16); outline-offset:3px; border-radius:8px; }

/* micro animations for small UI elements */
smallpop{ display:inline-block; transition: transform var(--ani-fast) ease; }
.page-hero {
  background:#f8fafc; /* or whatever your other hero background is */
  text-align:center;
  padding:4rem 1rem 3rem;
}
.page-hero h1 {
  font-weight:800;
  font-size:clamp(1.9rem,4vw,2.6rem);
  color:#0f172a; /* dark navy */
}
.page-hero p {
  color:#64748b;
  font-size:1.05rem;
}
.page-hero strong,
.page-hero .brand {
  color:#0ea5e9; /* same blue as your firm name */
}
/* Center the hero block */
.calc .calc-head {
  text-align: center;
}

/* Make the firm name sky blue and bold */
.brand-sky {
  color: var(--brand-sky, var(--brand, #0ea5e9)); /* uses your brand var, falls back to sky blue */
  font-weight: 800;
}

/* Tidy spacing so it looks like your calculator page */
.calc .calc-head h1 { margin: 0.15rem 0; }
.calc .calc-head p  { color: #64748b; max-width: 820px; margin: .5rem auto 0; }
.rate-list { display:grid; grid-template-columns: 1fr; gap:.75rem; margin-top:1rem }
.rate-card { display:flex; gap:.75rem; align-items:center; padding:12px; border:1px solid var(--border,#e5e7eb); border-radius:12px; }
.rate-card img { width:44px; height:44px; object-fit:contain }
.rate-meta { display:flex; gap:1rem; flex-wrap:wrap; font-size:.95rem }
.rate-meta b { font-weight:700 }
.btn { padding:.6rem 1rem; border-radius:10px; border:1px solid var(--border,#e5e7eb); background:var(--surface,#fff); cursor:pointer }
.micro { font-size:.8rem }
/* Shrink the whole loan-rates section to 50% */
#loan-rates.shrink-50{
  transform: scale(.5);
  transform-origin: top left;
  width: 200%;           /* compensates so the scaled content still fills the row */
}

/* (Optional) tighten spacing inside when scaled */
#loan-rates.shrink-50 .card { padding: 0.8rem; }
#loan-rates.shrink-50 h3 { margin-bottom: 0.4rem; }

/* If there’s too much white space above/below after scaling */
#loan-rates.shrink-50 { margin: 0.8rem 0; }
/* Apply to the same section */
#loan-rates.type-compact {
  --scale: .58;
}
#loan-rates.type-compact h1 { font-size: calc(var(--h1) * var(--scale)); }
#loan-rates.type-compact h2 { font-size: calc(var(--h2) * var(--scale)); }
#loan-rates.type-compact h3 { font-size: calc(var(--h3) * var(--scale)); }
#loan-rates.type-compact p,
#loan-rates.type-compact li,
#loan-rates.type-compact a,
#loan-rates.type-compact button,
#loan-rates.type-compact input,
#loan-rates.type-compact small { font-size: calc(var(--text-md) * var(--scale)); }

#loan-rates.type-compact .card,
#loan-rates.type-compact article { padding: calc(1rem * var(--scale)); }
#loan-rates.type-compact .btn { padding: calc(0.7rem * var(--scale)) calc(1rem * var(--scale)); }
/* ===== SOFT LOOK for the calculator only ===== */

#fees-calc.soft-ui {
  --surface:   #ffffff;         /* card background on grey page */
  --surface-2: #f7f9fc;         /* light panels / rows */
  --ink:       #1f2937;         /* main text */
  --muted:     #6b7280;         /* labels/help */
  --line:      #e6ebf2;         /* subtle borders */
  --accent:    #3b82f6;         /* your blue accents */
  --accent-10: rgba(59,130,246,.10);
  --accent-20: rgba(59,130,246,.20);
  --ok:        #16a34a;
  --warn:      #f59e0b;
  --radius-lg: 18px;
  --radius-sm: 12px;
  --shadow:    0 8px 28px rgba(15, 23, 42, .06);
}

#fees-calc.soft-ui .card,
#fees-calc.soft-ui article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Section titles */
#fees-calc.soft-ui h2, 
#fees-calc.soft-ui h3 {
  margin-bottom: .6rem;
  letter-spacing: .2px;
}

/* Input blocks */
#fees-calc.soft-ui label {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;        /* tidy but not heavy */
  margin-bottom: .35rem;
  display: inline-block;
}

#fees-calc.soft-ui input,
#fees-calc.soft-ui select,
#fees-calc.soft-ui textarea {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

#fees-calc.soft-ui input::placeholder { color: #97a1af; }

/* Softer focus ring */
#fees-calc.soft-ui input:focus,
#fees-calc.soft-ui select:focus,
#fees-calc.soft-ui textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-10);
  background: #fff;
}

/* Info tip text */
#fees-calc.soft-ui .muted,
#fees-calc.soft-ui .help,
#fees-calc.soft-ui small {
  color: var(--muted);
}

/* Collapsible / info panel */
#fees-calc.soft-ui .panel,
#fees-calc.soft-ui .hint {
  background: var(--accent-10);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
}

/* Buttons */
#fees-calc.soft-ui .btn,
#fees-calc.soft-ui button,
#fees-calc.soft-ui input[type="submit"]{
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: .7rem 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15,23,42,.05);
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s;
}
#fees-calc.soft-ui .btn:hover{ background: var(--surface-2); }
#fees-calc.soft-ui .btn:active{ transform: translateY(1px); }

/* Primary emphasis button (e.g., Print/Save) */
#fees-calc.soft-ui .btn-primary{
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--accent-20);
}
#fees-calc.soft-ui .btn-primary:hover{ filter: brightness(.97); }

/* Breakdown table – softer rows & dividers */
#fees-calc.soft-ui table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .92rem;                /* slightly smaller = calmer */
}

#fees-calc.soft-ui th {
  color: var(--muted);
  font-weight: 700;
  padding: .6rem .9rem;
  border-bottom: 1px solid var(--line);
}

#fees-calc.soft-ui td {
  padding: .6rem .9rem;
  border-bottom: 1px dashed var(--line);   /* dashed feels softer */
}

#fees-calc.soft-ui tr:hover td {
  background: #fafcff;                        /* feather highlight */
}

/* Numbers alignment and no-wrap */
#fees-calc.soft-ui td.amount,
#fees-calc.soft-ui .amount { 
  text-align: right; 
  white-space: nowrap; 
}

/* Subtotals & totals – keep hierarchy but reduce harshness */
#fees-calc.soft-ui .subtotal {
  font-weight: 700;
}
#fees-calc.soft-ui .grand-total {
  font-weight: 800;
  font-size: 1.05rem;
}
#fees-calc.soft-ui .grand-total .amount {
  letter-spacing: .2px;
}

/* Pills/badges (e.g., “8%”, “90% of price”) */
#fees-calc.soft-ui .pill {
  display: inline-block;
  padding: .18rem .5rem;
  font-size: .78rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Section gutters */
#fees-calc.soft-ui .grid { gap: 1.2rem; }
#fees-calc.soft-ui .card { padding: 1rem 1.1rem; }

/* Reduce top/bottom bold headers a touch */
#fees-calc.soft-ui .card > h3,
#fees-calc.soft-ui .card > h2 { 
  font-weight: 700;
  margin-bottom: .4rem;
}/* Useful Links block */
.link-list{ list-style:none; margin:0; padding:0; display:grid; gap:.75rem; }
.link-card{
  display:flex; align-items:flex-start; justify-content:space-between; gap:.75rem;
  border:1px solid rgba(2,6,23,.06); border-radius:12px; padding:12px; background:var(--card,#fff);
}
.link-main{ font-weight:600; text-decoration:none; }
.link-main:hover{ text-decoration:underline; }
.link-meta{ font-size:.92rem; color:var(--muted); margin-top:.15rem; max-width:60ch; }
.link-cta{
  display:inline-block; padding:.5rem .8rem; border-radius:10px; border:1px solid rgba(2,6,23,.06);
  text-decoration:none; white-space:nowrap;
}
@media(max-width:760px){ .link-card{ flex-direction:column; align-items:stretch; } .link-cta{ align-self:flex-start; } }
#view-counter{ margin:.25rem 0 0; }
#view-counter strong{ font-variant-numeric: tabular-nums; }
.main-nav,
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* if you had 2.5rem or 3rem before, reduce it */
}
.main-nav a,
.site-nav a {
  font-size: 0.95rem;  /* instead of 1rem / 1.05rem */
}
/* Logo container – do not allow it to be squashed */
.brand-link,
.brand {
  flex-shrink: 0;              /* don't let flexbox squeeze this */
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Logo image – fixed height, keep proportions */
.brand-link img,
.brand-logo {
  height: 56px;                /* adjust 52–72px to taste */
  width: auto;
  display: block;
}
.container.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:18px 24px;
}
@media(max-width:880px){
  .container.nav{ flex-direction:column; align-items:flex-start; }
  .main-nav ul{ flex-wrap:wrap; gap:10px; }
}
/* ---- Header logo: keep size, do not shrink ---- */

/* The container that holds logo + firm name */
.brand-link,
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;          /* <— prevent squeezing */
}

/* The actual image */
.brand-link img,
.brand-logo {
  height: 60px;            /* tweak 56–72px to your liking */
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Let the nav take the flexible space instead */
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
/* =========================
   Our Partners – Video block
   ========================= */
.team-video {
  max-width: 900px;
  margin: 1.5rem auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 8px 30px rgba(0,0,0,0.12));
}

.team-video-player {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover; /* fills entire block */
  display: block;
}
/* === Testimonials / Google Reviews === */

.section.testimonials {
  background: #f7fbff;
  padding: 3rem 1.5rem;
}

.section.testimonials h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section.testimonials .lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* smaller min width */
  gap: 1rem;
  max-width: 1200px;   /* adjust if you want it wider/narrower */
  margin: 0 auto;
}
@media (min-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(5, 1fr);  /* 5 cards in one row */
  }
}

.testimonial {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.1rem;          /* smaller padding */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;             /* slightly smaller text */
  line-height: 1.5;
  display: block;                /* no flex, no forced height */
}


.testimonial .stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  color: #facc15; /* ✨ yellow-gold tone (Tailwind 'amber-400') */
}

.testimonial blockquote {
  margin: 0 0 0.75rem;
  font-style: italic;
  line-height: 1.5;

  /* clamp to ~6 lines so cards don't become super tall */
  display: -webkit-box;
  -webkit-line-clamp: 6;      /* adjust 5–7 as you like */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.testimonial figcaption {
  margin-top: 0.75rem;   /* just a small gap under the quote */
  font-size: 0.85rem;
  color: #334155;
}


.testimonial figcaption strong {
  display: block;
  margin-bottom: 0.15rem;
}

.section.testimonials .reviews-note {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
  color: #64748b;
}
/* === Counter visual under Google reviews === */
.counter-visual{
  margin: 2rem auto 0;
  max-width: 900px;          /* was 420px */
  padding: 1.5rem 2rem;
  border-radius: 32px;
  background:#fff;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}

.counter-visual img{
  width: 100%;               /* stretch inside the card */
  height: auto;
  display: block;
  border-radius: 24px;       /* soft corners for the image itself */
}









