/* ==========================================================
   JR’S BARBERS — Cleaned Styles (Visual-Identical)
   ========================================================== */

/* Core Variables */
:root{
  --cream:#ECE4DA;
  --cream-200:#f4ede4;
  --dark:#36302A;
  --ink:#2a211c;
  --text:#332a23;
  --white:#ffffff;

  --radius:16px;
  --radius-lg:20px;
  --max:1200px;

  --space-lg:96px;
  --space-md:64px;
  --space-sm:32px;
}

/* Base Reset */
*{box-sizing:border-box;margin:0;padding:0;}
html,body{
  height:100%;
  background:var(--cream);
  color:var(--text);
  font-family:'Almarai', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight:400; line-height:1.6;
}
body{ padding-top:60px; } /* push below fixed header */

/* Typography */
h1,h2,h3,.display{
  font-family:'Libre Baskerville',serif;
  font-weight:400; line-height:1.15; color:var(--ink);
}
h1{ font-size:clamp(40px,4vw,64px); letter-spacing:-0.01em; }
h2,.display{ font-size:clamp(28px,3vw,48px); margin-bottom:.5em; }
p,li{ font-size:17px; color:var(--text); margin-bottom:1em; }
.lede{ font-size:15px; opacity:.9; max-width:60ch; }
strong{ font-weight:600; }

/* Layout Helpers */
.container{ max-width:var(--max); margin:0 auto; padding:0 40px; }
.section{ padding:var(--space-lg) 0; }
.center{ text-align:center; }
.space-top{ margin-top:var(--space-md); }
.cream{ background:var(--cream); }

/* Sticky Header (logo left, nav + book right) */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgb(247,240,212);
  height:60px;
  border-bottom:1px solid rgba(0,0,0,.06);
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.site-header .container{ max-width:none; padding:0 32px; }
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:60px; gap:24px; position:relative;
}
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.logo{ height:36px; width:auto; }
.header-right{ margin-left:auto; display:flex; align-items:center; gap:18px; white-space:nowrap; }
.main-nav{ display:flex; gap:16px; }
.main-nav a{
  text-decoration:none; font-family:'Almarai',sans-serif;
  font-size:14px; font-weight:400; color:var(--text);
}
.main-nav a:hover{ opacity:.75; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 22px; border-radius:999px; text-decoration:none;
  font-family:'Almarai',sans-serif; font-weight:500; font-size:15px;
  transition:all .25s ease; border:1px solid transparent;
}
.btn-dark{ background:var(--ink); color:var(--white); }
.btn-dark:hover{ filter:brightness(1.1); }
.btn-outline{ background:transparent; color:var(--ink); border-color:#bcae9f; }
.btn-outline:hover{ background:#f2ebe3; }
.btn.pill{ background:#e7d9c6; color:var(--ink); border-color:#d9cab4; }
.btn.pill:hover{ filter:brightness(.97); }
#bookTop{ padding:8px 18px; font-size:13px; font-weight:500; }

/* HERO */
.hero{
  position:relative; min-height:92vh;
  display:flex; align-items:flex-end;
}
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-overlay{ position:absolute; inset:0; background:rgba(0,0,0,.35); }
.hero-content{ position:relative; padding-bottom:72px; max-width:var(--max); margin:0 auto; padding-left:40px; }
.hero h1{ color:var(--cream-200); font-weight:400; text-shadow:0 2px 14px rgba(0,0,0,.25); }

/* Generic Two-Column */
.two-col{
  display:grid; grid-template-columns:45% 55%;
  align-items:center; gap:var(--space-md);
}
.media-box img{
  width:100%; border-radius:var(--radius-lg); object-fit:cover;
}
.content-box{ padding-right:5%; }

/* Services (image left-centered, text right-centered) */
#services.section{ padding:60px 0 70px; }
#services .two-col{ grid-template-columns:45% 55%; align-items:center; gap:60px; }
#services .media-box{ display:flex; justify-content:center; align-items:center; }
#services .media-box img{ width:70%; height:auto; border-radius:var(--radius-lg); object-fit:cover; }
#services .content-box{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
#services .display{ margin-bottom:.5em; letter-spacing:-0.01em; }

/* Minimal service grid */
#services .services-modern{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:10px; width:100%; max-width:520px; margin-top:8px;
}
#services .service-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 14px; border:1px solid rgba(42,33,28,.25);
  border-radius:10px; background:transparent; transition:all .2s ease;
}
#services .service-row:hover{ border-color:rgba(42,33,28,.45); transform:translateY(-1px); }
#services .srv-left{ display:flex; flex-direction:column; gap:2px; }
#services .srv-name{
  font-family:'Almarai',sans-serif; font-size:15.5px; color:var(--ink);
  font-weight:600; letter-spacing:.2px;
}
#services .srv-price{
  font-family:'Libre Baskerville',serif; font-size:15px; color:#b08a54;
}
#services .srv-meta{ font-size:13px; color:#7d7166; opacity:.9; font-weight:400; }

/* Split Dark Booking Section (50/50, compact) */
.section.split-dark{ background:var(--dark); color:#e6dbcf; padding:0; }
.split{
  display:grid; grid-template-columns:1fr 1fr; align-items:stretch;
  min-height:360px;
}
.split-left{ position:relative; overflow:hidden; }
.split-left img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:0; }
.split-right{ display:flex; align-items:center; justify-content:center; padding:36px 52px; background:var(--dark); }
.split-inner{ width:100%; max-width:560px; margin:0 auto; text-align:left; }
.split-inner .display{ color:#e6dbcf; margin-bottom:.4em; }
.split .lede{ color:#d5cabd; margin-bottom:1em; }

/* Booking cards (final surface + spacing) */
.book-card{
  margin:12px 0;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:14px 16px;
  background:#f7f2eb;
  border:1px solid rgba(42,33,28,.12);
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.book-card:hover{
  transform:translateY(-1px);
  border-color:rgba(42,33,28,.18);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.card-title{
  font-family:'Almarai',sans-serif; font-weight:600; font-size:16px;
  letter-spacing:.1px; color:var(--ink); margin-bottom:2px;
}
.card-sub{ font-size:13px; color:#7d7166; opacity:.95; }
.book-card > div:first-child{ min-width:0; }
.card-title,.card-sub{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Booking card button (final outline style) */
.split-dark .book-card .btn-outline{
  background:transparent;
  color:var(--ink);
  border:1px solid rgba(42,33,28,.25);
  border-radius:8px;
  padding:8px 18px;
  font-size:14px;
  font-weight:500;
  letter-spacing:.2px;
  transition:all .2s ease;
}
.split-dark .book-card .btn-outline:hover{
  background:#f1e8dc;
  border-color:rgba(42,33,28,.4);
  transform:translateY(-1px);
}

/* About */
#about.section{ padding:72px 0; }
#about .two-col{ grid-template-columns:1.25fr .75fr; column-gap:72px; align-items:center; }
#about .display{ font-size:clamp(32px,2.8vw,50px); margin-bottom:.5em; }
#about .content-box{ max-width:480px; margin-left:auto; margin-right:auto; }
#about .media-box{ justify-self:end; transform:translateX(12px); }
.about .media-box img{ width:94%; height:auto; border-radius:var(--radius-lg); object-fit:cover; }

/* Social Gallery */
.section.dark{ background:var(--dark); color:#e6dbcf; padding:60px 0; }
.section.dark .display{ color:#e6dbcf; }
.gallery{
  margin:32px 0 24px; display:grid; grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.gallery img{ width:100%; height:260px; object-fit:cover; border-radius:14px; }

/* Reviews */
#reviews{ background:var(--cream); padding:40px 0; }
.reviews-image-wrap{ margin:12px auto 0; display:flex; justify-content:center; overflow:hidden; }
.reviews-image{ width:125%; max-width:1250px; border-radius:0; box-shadow:none; outline:none; border:none; }
#reviews .btn.pill{
  background:var(--dark); color:var(--cream); border-color:var(--dark); box-shadow:none;
}
#reviews .btn.pill:hover{ background:#4a423c; border-color:#4a423c; color:var(--cream); }
#reviews .center.space-top{ margin-top:20px; } /* tighter gap to button */

/* Contact */
#contact{ background:var(--dark); color:#e6dbcf; }
.contact-grid{ display:grid; grid-template-columns:420px 1fr; gap:40px; align-items:stretch; }
.contact-left .display{ color:#f0e7da; }
.contact-block{ margin:28px 0; }
.contact-block .label{ font-weight:600; font-size:15px; color:#d1c4b7; margin-bottom:6px; }
.contact-block p,.contact-block a{
  font-family:'Almarai',sans-serif; font-size:16px; color:#e8e0d5; text-decoration:none;
}
.contact-right iframe{ width:100%; height:100%; min-height:420px; border-radius:12px; border:none; }

/* Footer */
.footer{
  background:#eae1d6; color:var(--ink);
  text-align:center; padding:20px 0;
  font-size:15px; letter-spacing:.01em;
}

/* ============== Mobile Nav + Responsive ============== */
.nav-toggle{
  display:none; background:none; border:none; font-size:26px; color:var(--ink); cursor:pointer;
}

@media (max-width:1024px){
  .two-col,.split{ grid-template-columns:1fr; }
  .hero h1{ font-size:clamp(28px,5vw,44px); }
  .split-right{ padding:48px 32px; }
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width:768px){
  /* Header */
  .nav-toggle{ display:inline-flex; }
  .header-inner{ display:flex; align-items:center; justify-content:space-between; height:60px; padding:0 20px; }
  .brand{ margin-right:auto; }
  .right-cluster{ display:flex; align-items:center; gap:0; margin-left:auto; }
  #bookTop{ display:inline-flex; padding:8px 12px; font-size:13px; line-height:1; white-space:nowrap; }
  .nav-toggle{ background:none; border:0; font-size:26px; line-height:1; cursor:pointer; padding:6px 8px; margin-left:auto; }
  .header-right{
    display:none; position:absolute; top:60px; left:0; right:0;
    background:rgb(247,240,212);
    border-top:1px solid rgba(0,0,0,.08);
    text-align:center; flex-direction:column; gap:12px; padding:16px 0;
    opacity:0; transform:translateY(-10px); transition:all .25s ease;
  }
  .header-right.show{ display:flex; opacity:1; transform:translateY(0); }

  /* Hero */
  .hero{ min-height:85vh; align-items:flex-end; }
  .hero-content{ padding:0 20px 40px !important; text-align:center; }
  .hero h1{ font-size:clamp(22px,6vw,34px); }

  /* Stacking + spacing */
  .two-col,.split{ grid-template-columns:1fr; gap:40px; }
  #services .media-box img,#about .media-box img{ width:100%; }
  .gallery{ grid-template-columns:1fr; gap:16px; }
  .contact-right iframe{ min-height:320px; }

  /* Text alignment */
  h1,h2,.display{ text-align:center; }
  .content-box{ text-align:center; padding:0 20px; }

  /* Services: image on top, 2-col grid below */
  #services.section{ padding:48px 0 60px; }
  #services .two-col{ display:flex; flex-direction:column; align-items:center; gap:28px; }
  #services .media-box{ order:1; width:100%; display:flex; justify-content:center; }
  #services .media-box img{ width:90%; max-width:420px; border-radius:14px; }
  #services .content-box{ order:2; display:flex; flex-direction:column; align-items:center; text-align:center; padding-top:16px; }
  #services .display{ margin-bottom:.8em; }
  #services .services-modern{
    grid-template-columns:repeat(2,1fr);
    gap:6px; width:92%; max-width:400px; margin-top:4px;
  }
  #services .service-row{ padding:8px 10px; border-radius:8px; }
  #services .srv-name,#services .srv-price{ font-size:14px; }

  /* Booking cards — mobile fix */
  .split-right{ padding:22px 18px; }
  .split-inner{ max-width:520px; }
  .book-card{
    flex-direction:row; align-items:center; justify-content:space-between;
    text-align:left; padding:10px 12px; margin:8px 0; border-radius:12px;
    box-shadow:0 1px 6px rgba(0,0,0,.04);
  }
  .book-card > div:first-child{ min-width:0; flex:1; }
  .card-title{ font-size:15px; margin-bottom:2px; }
  .card-sub{ font-size:13px; line-height:1.2; color:#7d7166; }
  .split-dark .book-card .btn-outline{
    margin-left:12px; flex-shrink:0; padding:8px 12px; font-size:13px; border-radius:8px;
    background:transparent; border:1px solid rgba(42,33,28,.25);
  }

  /* Contact spacing tweaks */
  #contact .contact-block{ margin:12px 0; }
  #contact .contact-block p, #contact .contact-block a{ margin-bottom:4px; line-height:1.4; }
  #contact .contact-block .label{ margin-bottom:4px; }
  #contact .contact-left .display{ margin-bottom:.6em; }
}

/* Tiny phones */
@media (max-width:600px){
  .container{ padding:0 20px; }
  .section{ padding:60px 0; }
  .gallery{ grid-template-columns:1fr 1fr; gap:12px; }
  .gallery img{ height:180px; }
  .reviews-image{ width:100%; max-width:100%; }
  .footer{ font-size:14px; padding:16px 0; }
}
/* Owner section: text first, image second on mobile */
@media (max-width:768px){
  #about .two-col{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
  }
  /* Text comes first */
  #about .content-box{
    order:1;
    text-align:center;
    padding-top:0;
  }
  /* Image comes second */
  #about .media-box{
    order:2;
    width:100%;
    display:flex;
    justify-content:center;
    margin-top:8px;
  }
  #about .media-box img{
    width:92%;
    max-width:440px;
    border-radius:14px;
  }
}
/* Center and constrain Elfsight widget like your old image */
#reviews .elfsight-app-6a5371a3-bd07-4045-8cf5-e8c9d8ce5a31{
  max-width: 900px;
  margin: 24px auto 0;   /* matches your previous top gap */
}
/* Tighter gap between 'Our Services' heading and grid */
#services .display { margin-bottom: 0.3em; }
#services .services-modern { margin-top: 4px; }

/* Instagram button */
.insta-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 22px; border-radius:12px; background:transparent;
  border:1px solid var(--cream); color:var(--cream);
  font-family:'Almarai',sans-serif; font-weight:500; font-size:15px;
  transition:all .25s ease;
}
.insta-btn:hover{ background:var(--cream); color:var(--dark); }
.insta-btn i{ font-size:18px; }

/* Hero heading polish */
.hero-content h1{ color:#f5f0e6; text-shadow:0 2px 6px rgba(0,0,0,.35); }

/* Services: hide image on mobile (desktop unchanged) */
@media (max-width:768px){
  #services .media-box{ display:none; }
}

/* Services: revert to normal (NOT centered) */
#services .content-box{
  /* ensure left alignment if something else tried to center it */
  text-align:left; align-items:flex-start; justify-content:center;
  padding-right:0;
}

/* ------------------------------
   CONTACT — compact + clear hierarchy
------------------------------ */

/* Section spacing */
#contact.section{ padding:48px 0; background:var(--dark); color:#e8e0d5; }
@media (max-width:768px){ #contact.section{ padding:36px 0; } }

/* Column rhythm */
.contact-left{ display:flex; flex-direction:column; gap:8px; }

/* Tight blocks */
.contact-block{ margin:4px 0; }

/* Labels: bold + darker */
.contact-block .label{
  font-family:'Almarai',sans-serif; font-weight:700; font-size:15.5px;
  color:#cbbba3; letter-spacing:.25px; margin-bottom:4px;
}

/* Body text: lighter supporting tone */
.contact-block p,
.contact-block a{
  font-family:'Almarai',sans-serif; font-size:16px; line-height:1.45;
  color:#e8e0d5; margin:0; text-decoration:none;
}

/* Hours list — narrow, aligned, compact */
.hours-list{
  list-style:none; margin:6px 0 0 0; padding:0; gap:2px;
  display:grid; max-width:280px; text-align:left;
}
.hours-list li{
  display:grid; grid-template-columns:110px 1fr; align-items:baseline;
  padding:2px 0; border-bottom:1px dashed rgba(255,255,255,.06);
  font-size:16px;
}
.hours-list li:last-child{ border-bottom:none; }
.hours-list .day{ font-weight:700; color:#cbbba3; }
.hours-list .time{
  justify-self:end; text-align:right; color:#e8e0d5;
  font-variant-numeric:tabular-nums; white-space:nowrap;
}
.hours-list .hours-note{
  display:block; white-space:normal; font-size:.9em; color:#b9ad9f; margin-top:2px;
}
@media (max-width:768px){
  .hours-list{ max-width:240px; }
  .hours-list li{ grid-template-columns:108px 1fr; font-size:15px; }
}
/* Restore original map height and sizing */
.contact-right iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;        /* restores the tall, original size */
  border-radius: 12px;
  border: none;
}


/* =======================================
   Elegant Subtle Button Hover Styling
======================================= */

/* --- Dark Buttons --- */
.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}
.btn-dark:hover {
  background: #423830;              /* softly lighter tone of var(--ink) */
  border-color: #423830;
  filter: brightness(1.05);         /* gentle lift */
}

/* --- Outline Buttons --- */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(42,33,28,0.4);
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: rgba(42,33,28,0.06);  /* faint warm tint */
  border-color: rgba(42,33,28,0.5);
  color: var(--ink);
}

/* --- Pill Buttons (used for “View All” etc.) --- */
.btn.pill {
  background: #ece3d6;              /* soft warm beige */
  color: var(--ink);
  border: 1px solid #d9cab4;
  transition: all 0.25s ease;
}
.btn.pill:hover {
  background: #e2d6c6;              /* subtle darker shade on hover */
  border-color: #cfbfa7;
}

/* --- Instagram / Social Button --- */
.insta-btn {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  transition: all 0.25s ease;
}
.insta-btn:hover {
  background: rgba(255,255,255,0.08); /* faint glow behind */
  border-color: var(--cream);
  color: var(--cream);
}
/* Default: show desktop image only */
.reviews-mobile { display: none; }
.reviews-desktop { display: block; }

@media (max-width: 768px) {
  .reviews-desktop { display: none; }
  .reviews-mobile { display: flex; justify-content: center; }

  /* Make the Google image smaller and centered */
  .reviews-mobile .reviews-image {
    width: 65%;              /* adjust size here (try 60–70%) */
    max-width: 280px;        /* limits how large it can get */
    border-radius: 10px;
    margin: 12px auto 0;
    display: block;
  }

  #reviews .center.space-top {
    margin-top: 14px;        /* slightly tighter gap below */
  }
}
/* =========================
   MOBILE: fix contact alignment
========================= */
@media (max-width: 768px) {
  /* Center entire contact section */
  #contact .contact-left {
    align-items: center;
    text-align: center;
  }

  #contact .contact-block {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Hours table stays properly aligned */
  .hours-list {
    margin: 6px auto 0;
    padding: 0;
    width: fit-content;             /* centers the table as a block */
    text-align: left;               /* keeps text alignment normal */
    display: grid;
    gap: 2px;
  }

  .hours-list li {
    display: grid;
    grid-template-columns: 110px 1fr;  /* fixed columns for clean alignment */
    align-items: baseline;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
    font-size: 15.5px;
  }

  .hours-list li:last-child {
    border-bottom: none;
  }

  .hours-list .day {
    text-align: left;               /* stays aligned to left */
    color: #cbbba3;
    font-weight: 700;
  }

  .hours-list .time {
    text-align: right;              /* times stay aligned right */
    color: #e3d9ce;
    font-weight: 400;
  }

  .hours-list .hours-note {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.9em;
    color: #b9ad9f;
    margin-top: 2px;
  }
}
@media (max-width: 768px) {
  /* Center only the 'Our Services' heading text on mobile */
  #services .content-box > .display {
    text-align: center;
    width: 100%;
  }
}
@media (max-width: 768px) {
  /* Center the booking description paragraph on mobile only */
  .split-dark .split-inner .lede {
    text-align: center;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  /* Make the Google Map smaller on mobile */
  #contact .contact-right iframe {
    min-height: 260px;    /* was around 420px before */
    height: 260px;
    border-radius: 10px;
  }
}
reviews-desktop .reviews-image {
  width: 110%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  overflow: visible;
}

/* =========================
   Reviews Section — Mobile Badge Only
========================= */

/* Hide mobile badge on desktop */
.reviews-mobile { display: none; }

/* Desktop image stays as-is */
.reviews-desktop .reviews-image {
  width: 110%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  overflow: visible;
}

/* Mobile version */
@media (max-width: 768px) {
  /* Hide desktop version */
  .reviews-desktop { display: none; }

  /* Show and refine only the mobile badge */
  .reviews-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
  }

  .reviews-mobile .reviews-image {
    width: 65%;               /* smaller, balanced size */
    max-width: 220px;
    border-radius: 8px;
    opacity: 0.95;            /* subtle blend */
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .reviews-mobile .reviews-image:hover {
    opacity: 1;
    transform: scale(1.02);
  }

  /* Section padding harmony */
  #reviews.section {
    padding: 40px 0 48px;
    background: var(--cream);
  }

  /* Keep the "See All Reviews" button spacing neat */
  #reviews .center.space-top {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  #reviews .center.space-top {
    margin-top: 28px;
  }
}

/* =========================
   Social Section — Tighter Vertical Spacing
========================= */
#social.section.dark {
  padding-top: 40px;   /* was around 60px */
  padding-bottom: 44px; /* was around 60px */
}

/* Slightly tighter again for mobile */
@media (max-width: 768px) {
  #social.section.dark {
    padding-top: 32px;
    padding-bottom: 36px;
  }
}
/* =========================
   Owner Section — Tighter Vertical Spacing
========================= */
#about.section {
  padding-top: 48px;   /* was around 72px */
  padding-bottom: 52px; /* was around 72px */
}

/* Slightly tighter still on mobile */
@media (max-width: 768px) {
  #about.section {
    padding-top: 40px;
    padding-bottom: 44px;
  }
}
@media (max-width: 768px) {
  .split-dark .center {
    margin-top: 16px; /* slightly tighter on mobile */
  }
}
@media (max-width: 768px) {
  /* Reduce vertical padding for entire section */
  #services.section {
    padding-top: 36px;     /* was ~48px */
    padding-bottom: 44px;  /* was ~60px */
  }

  /* Tighten the spacing between heading and grid */
  #services .display {
    margin-bottom: 0.5em;
  }

  /* Compact the grid layout slightly */
  #services .services-modern {
    gap: 4px;
    width: 90%;
    max-width: 380px;
    margin-top: 2px;
  }

  /* Slim down each card */
  #services .service-row {
    padding: 6px 8px;          /* smaller card padding */
    border-radius: 8px;
  }

  /* Slightly smaller text for balance */
  #services .srv-name {
    font-size: 13.5px;
  }

  #services .srv-meta {
    font-size: 12px;
  }

  #services .srv-price {
    font-size: 13px;
  }
}
/* =========================
   Meet the Owner — Elegant treatment
========================= */
#about .content-box{
  position:relative;
  max-width:520px;                 /* readable line length */
  margin-left:auto;
  margin-right:0;
  padding: 6px 8px;                /* gives breathing for the card accent */
}

/* Subtle “paper” card behind the text for a designed feel */
#about .content-box::before{
  content:"";
  position:absolute;
  inset:-14px -18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.35));
  border:1px solid rgba(42,33,28,0.08);
  border-radius:16px;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,0.06));
  z-index:-1;
}

/* Kicker (small, classy label) */
.owner-kicker{
  font-family:'Almarai',sans-serif;
  font-size:12.5px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#b08a54;
  margin:0 0 10px 2px;
  opacity:.9;
}

/* Heading polish */
#about .content-box .display{
  letter-spacing:-0.02em;
  margin-bottom:.55em;
}

/* Copy: smoother rhythm + micro-typography */
.owner-copy{
  font-family:'Almarai',sans-serif;
  font-size:17px;
  line-height:1.75;
  color:#3b3029;
  margin:0;
  max-width:46ch;
  text-wrap:pretty;
  hyphens:auto;
  opacity:.95;
}

/* Tasteful drop cap for desktop (automatically disabled on mobile) */
.owner-copy::first-letter{
  font-family:'Libre Baskerville',serif;
  float:left;
  font-size:3.2rem;
  line-height:.88;
  padding-right:10px;
  padding-top:6px;
  color:var(--ink);
}

/* Signature row for a human touch */
.owner-signoff{
  margin-top:16px;
  padding-top:10px;
  border-top:1px solid rgba(42,33,28,0.10);
  display:flex; align-items:baseline; gap:10px;
}
.sig-name{
  font-family:'Libre Baskerville',serif;
  font-style:italic;
  font-size:18px;
  color:var(--ink);
}
.sig-role{
  font-family:'Almarai',sans-serif;
  font-size:13px;
  color:#7d7166;
  letter-spacing:.02em;
}

/* Photo refinement (subtle depth, already rounded) */
#about .media-box img{
  border-radius:20px;
  box-shadow:0 10px 28px rgba(0,0,0,0.08);
}

/* -------- Mobile adjustments (seamless, centered) -------- */
@media (max-width:768px){
  #about .content-box{
    margin:0 auto;
    text-align:center;
    padding:0 8px;
  }
  #about .content-box::before{ inset:-10px -12px; }

  .owner-copy{
    margin:0 auto;
    max-width:40ch;
    text-align:center;
  }
  .owner-copy::first-letter{          /* disable drop-cap on small screens */
    float:none; font-size:inherit; line-height:inherit; padding:0;
  }

  .owner-signoff{
    justify-content:center;
    margin-top:14px;
  }
}
/* =========================
   Meet the Owner — Center Balance Fix
========================= */

/* Center the text block within the grid column */
#about .two-col {
  align-items: center;
  justify-content: center;
}

/* Let the content box sit centered within its space */
#about .content-box {
  margin: 0 auto;
  text-align: left;           /* keep natural paragraph alignment */
  justify-self: center;
  max-width: 520px;
}

/* Adjust the grid to be more even visually (less image dominance) */
#about .two-col {
  grid-template-columns: 50% 50%; /* was 1.25fr .75fr before */
}

/* Optional: on really wide screens, keep it elegant */
@media (min-width: 1440px) {
  #about .two-col {
    grid-template-columns: 48% 52%;
  }
}
@media (max-width: 768px) {
  /* Stack neatly with centered alignment */
  #about .two-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px; /* comfortable space between text and image */
  }

  /* Center text block elegantly */
  #about .content-box {
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
    max-width: 90%;
  }

  /* Card background scales neatly */
  #about .content-box::before {
    inset: -10px -12px;
    margin: 0 auto;
  }

  /* Center paragraph and remove drop cap */
  .owner-copy {
    text-align: center;
    max-width: 42ch;
    margin: 0 auto;
  }
  .owner-copy::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    padding: 0;
  }

  /* Center kicker and signature */
  .owner-kicker {
    margin: 0 auto 10px;
  }

  .owner-signoff {
    justify-content: center;
    margin-top: 16px;
  }

  /* Center image perfectly */
  #about .media-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  #about .media-box img {
    width: 88%;
    max-width: 420px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }
}
/* Clean, minimal two-letter dropcap */
.dropcap {
  float: left;
  display: inline-block;
  font-family: 'Libre Baskerville', serif;
  font-weight: 500;            /* lighter, less shouty */
  font-size: 2.6rem;           /* smaller, proportional */
  line-height: 1;              /* keeps baseline aligned */
  color: #4b4036;              /* softer than full black ink */
  padding-right: 8px;
  padding-top: 6px;
  letter-spacing: -0.3px;
  opacity: 0.9;                /* subtle tone */
  vertical-align: top;
  transform: translateY(2px);  /* nudges it into harmony with text */
}

/* Keep paragraph text flowing cleanly */
.owner-copy {
  overflow: hidden;
}

/* Disable on mobile */
@media (max-width: 768px) {
  .dropcap {
    float: none;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    padding: 0;
    opacity: 1;
    transform: none;
  }
}
/* Disable automatic pseudo dropcap entirely */
.owner-copy::first-letter {
  content: none !important;
  all: unset !important;
}

/* Clean, minimal two-letter custom dropcap */
.dropcap {
  float: left;
  display: inline-block;
  font-family: 'Libre Baskerville', serif;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: #4b4036;
  padding-right: 8px;
  padding-top: 6px;
  letter-spacing: -0.3px;
  opacity: 0.9;
  vertical-align: top;
  transform: translateY(2px);
}

/* Prevent text wrap glitches */
.owner-copy {
  overflow: hidden;
}

/* Mobile: inline, normal size */
@media (max-width: 768px) {
  .dropcap {
    float: none;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    padding: 0;
    opacity: 1;
    transform: none;
  }
}
/* ========= ABOUT (Owner/JR) ONLY ========= */
section.about {
  background: var(--cream, #ede3d6);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Layout */
section.about .split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;   /* photo a touch larger */
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

section.about .split-media { order: 1; }
section.about .split-copy  { order: 2; }

/* Photo card */
section.about .split-photo,
section.about .owner-photo {
  width: 100%;
  height: min(560px, 58vh);
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  background: #fff;
}

/* Typography */
section.about .eyebrow {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #a68853; /* gold accent */
  margin-bottom: 0.5rem;
}

section.about .split-copy h2.display {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

section.about .split-copy p {
  color: #463f36;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

/* Accents */
section.about .hairline {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0.08), rgba(0,0,0,0));
  margin: 0.75rem 0 1rem;
}

section.about .pull {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #3a2f21;
  opacity: 0.9;
}

/* Optional ghost button */
section.about .btn.btn-ghost {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #3a2f21;
}

/* Image uniformity in ABOUT only */
section.about .owner-photo,
section.about .split-photo {
  width: 100%;
  max-width: 520px;
  height: 560px;
  object-fit: cover;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

/* Mobile */
@media (max-width: 900px) {
  section.about .split { grid-template-columns: 1fr; }
  section.about .split-photo { height: 48vh; border-radius: 20px; }
  section.about .split-copy { margin-top: 0.5rem; }

  section.about .owner-photo,
  section.about .split-photo {
    height: auto;
    max-height: 420px;
  }

  section.about .split-copy h2.display { font-size: 1.6rem; }
}
/* ===== Match JR + Fred section styling — SCOPED ONLY ===== */

/* Layout consistency (About + Team only) */
section#about .two-col.about {
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.section.team-split .split {
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

/* Image sizing — JR & Fred only */
section#about .owner-photo,
.section.team-split .split-photo {
  width: 100%;
  max-width: 460px;
  height: 540px;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  display: block;
  margin-inline: auto;
}

/* Fred’s section container */
.section.team-split {
  background: var(--cream, #ede3d6);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Headings + text (only in Team split copy) */
.section.team-split .eyebrow {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #a68853;
  margin-bottom: 0.5rem;
}
.section.team-split .split-copy h2.display {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.section.team-split .split-copy p {
  color: #463f36;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Hairline + pull quote (scoped) */
.section.team-split .hairline,
section#about .hairline {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
  margin: 0.5rem 0 1rem;
}
.section.team-split .pull,
section#about .pull {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #3a2f21;
  opacity: 0.9;
  font-size: 1rem;
}

/* Divider (scoped so it doesn't leak) */
.section-divider {
  text-align: center;
  padding: 1.2rem 0 0.5rem;
}
.section-divider span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #6e5c42;
  letter-spacing: 0.05em;
  opacity: 0.85;
  display: inline-block;
  position: relative;
}
.section-divider span::before,
.section-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}
.section-divider span::before { left: -50px; }
.section-divider span::after  { right: -50px; }

/* ===== Mobile — SCOPED ONLY ===== */
@media (max-width: 900px) {
  /* About grid stack */
  section#about .two-col.about {
    grid-template-columns: 1fr;
  }

  /* Team split grid stack */
  .section.team-split .split {
    grid-template-columns: 1fr;
  }

  /* About + Team images on mobile */
  section#about .owner-photo,
  .section.team-split .split-photo {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .section.team-split .split-copy {
    margin-top: 1.2rem;
  }

  .section.team-split .split-copy h2.display {
    font-size: 1.6rem;
  }
}
/* ===============================
   ABOUT (JR) — PREMIUM STYLING
   =============================== */
section#about {
  /* soft editorial gradient */
  background: linear-gradient(180deg, #f5ede3 0%, #ede3d6 100%);
  padding: 3rem 0;
}

section#about .two-col.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;   /* image a touch larger on wide */
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

section#about .content-box {
  max-width: 620px;          /* improves line length */
  color: #463f36;
}

section#about .owner-kicker {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #a68853;            /* gold accent */
  margin: 0 0 0.4rem 0;
}

section#about h2.display {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem 0;
  color: #2f271c;
}

section#about .owner-copy {
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 1.2rem 0;
  color: #463f36;
}

section#about .owner-signoff {
  margin-top: 0.6rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 0.8rem;
}

section#about .sig-name {
  /* personal signature feel */
  font-family: "Great Vibes", "Parisienne", "Sacramento", "Playfair Display", serif;
  font-size: 1.8rem;
  color: #a68853;
  letter-spacing: 0.02em;
}

/* JR photo card */
section#about .owner-photo {
  width: 100%;
  max-width: 520px;
  height: 560px;
  object-fit: cover;
  display: block;
  margin-inline: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  border: 2px solid rgba(166,136,83,0.12);  /* faint gold edge */
}

/* Subtle center divider on ultra-wide screens */
@media (min-width: 1200px) {
  section#about .two-col.about::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 52%;
    width: 1px;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
  }
}

/* ===============================
   SECTION DIVIDER (Between Blocks)
   =============================== */
.section-divider {
  text-align: center;
  padding: 1rem 0 0.5rem;
}
.section-divider span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #6e5c42;
  letter-spacing: 0.04em;
  opacity: 0.7;
  position: relative;
  display: inline-block;
}
.section-divider span::before,
.section-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: rgba(0,0,0,0.12);
}
.section-divider span::before { left: -50px; }
.section-divider span::after  { right: -50px; }

/* ===============================
   TEAM (FRED) — PREMIUM STYLING
   =============================== */
.section.team-split {
  background: linear-gradient(180deg, #ede3d6 0%, #f7f1e8 100%);
  padding: 2.5rem 0 3rem;
}

.section.team-split .container.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;   /* photo left */
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.section.team-split .split-photo {
  width: 100%;
  max-width: 520px;
  height: 560px;
  object-fit: cover;
  display: block;
  margin-inline: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  border: 2px solid rgba(166,136,83,0.10);
}

.section.team-split .split-copy {
  max-width: 620px;
  color: #463f36;
}

.section.team-split .eyebrow {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #a68853;
  margin-bottom: 0.5rem;
}

.section.team-split .split-copy h2.display {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  color: #2f271c;
}

.section.team-split .split-copy p {
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1rem;
  color: #463f36;
}

.section.team-split .hairline {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
  margin: 0.6rem 0 1rem;
}

.section.team-split .pull {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #3a2f21;
  opacity: 0.9;
  font-size: 1rem;
}

/* ===============================
   ENHANCEMENTS — Gentle Reveal
   =============================== */
section#about [data-animate="fade-up"],
.section.team-split [data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
section#about [data-animate="fade-up"].visible,
.section.team-split [data-animate="fade-up"].visible {
  opacity: 1;
  transform: none;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 980px) {
  section#about .two-col.about,
  .section.team-split .container.split {
    grid-template-columns: 1fr;      /* stack */
  }

  section#about .owner-photo,
  .section.team-split .split-photo {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
  }

  section#about h2.display { font-size: 1.8rem; }
  .section.team-split .split-copy h2.display { font-size: 1.7rem; }
}
/* --- Signature styling for both JR & Fred --- */
.owner-signoff,
.fred-signoff {
  margin-top: 1.5rem;
}

.sig-name {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #3a2f21;
  display: inline-block;
  position: relative;
}

/* Add a classy underline flourish */
.sig-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #a68853, transparent);
  opacity: 0.6;
}

/* Slightly lighter touch for Fred’s signoff */
.fred-signoff .sig-name {
  font-size: 1.3rem;
  opacity: 0.9;
}
.fred-signoff .sig-name::after {
  opacity: 0.4;
}

/* Vertical divider between Fred's image and copy (match JR) */
@media (min-width: 1200px) {
  .section.team-split .container.split {
    position: relative;
  }
  .section.team-split .container.split::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 52%;
    width: 1px;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
  }
}

/* Thin rule above Fred's sign-off (match JR) */
.fred-signoff {
  margin-top: 0.6rem;                 /* keep your spacing */
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 0.8rem;
}
/* === Adjust Fred’s Section for Better Balance === */
.section.team-split .container.split {
  display: grid;
  grid-template-columns: 1fr 0.95fr; /* text slightly wider */
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

/* Reduce Fred image size + softer shadow */
.section.team-split .split-photo {
  width: 100%;
  max-width: 460px;  /* smaller than JR’s 520px */
  height: 520px;     /* reduced height */
  object-fit: cover;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  border: 2px solid rgba(166, 136, 83, 0.1);
  display: block;
  margin-inline: auto;
}

/* Add vertical divider (same as JR) */
@media (min-width: 1200px) {
  .section.team-split .container.split::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 48%;
    width: 1px;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
  }
}

/* Adjust text spacing */
.section.team-split .split-copy {
  max-width: 600px;
  color: #463f36;
  padding-right: 1rem; /* small breathing space */
}

.section.team-split .split-copy p {
  margin-bottom: 1.2rem; /* slightly more gap between paragraphs */
}

/* Match signature spacing to JR */
.fred-signoff {
  margin-top: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.8rem;
}
/* Mobile: center Fred, image below text */
@media (max-width: 980px) {
  .section.team-split .container.split {
    display: flex;
    flex-direction: column-reverse; /* puts image below text */
    align-items: center;
    gap: 1.5rem;
  }

  /* center the copy */
  .section.team-split .split-copy {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    max-width: 620px;
  }

  .section.team-split .split-copy h2.display { 
    margin: 0 auto 1rem; 
  }

  .section.team-split .split-copy p { 
    margin: 0 0 1.1rem; 
  }

  /* center the hairline */
  .section.team-split .hairline {
    width: 60%;
    margin: 0.75rem auto 1rem;
  }

  /* Fred’s signoff centered */
  .fred-signoff { 
    text-align: center; 
    margin-top: 0.8rem; 
    padding-top: 0.8rem; 
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .fred-signoff .sig-name { 
    display: inline-block; 
  }

  /* image at bottom */
  .section.team-split .split-photo {
    max-width: 420px;    /* smaller than JR’s */
    width: 80vw;         /* scales nicely */
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
  }
}
@media (max-width: 980px) {
  section#about .owner-photo {
    display: block;
    margin: 0 auto;
    max-width: 420px;  /* slightly smaller for balance */
    width: 80vw;
    height: auto;
    border-radius: 16px;
  }
}
/* Decorative vertical line between Services image and table — centered */
@media (min-width: 1200px) {
  section#services .container.two-col {
    position: relative;
  }

  section#services .container.two-col::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 46%; /* shifted slightly left for true visual center */
    width: 1px;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
  }
}
/* Desktop only — make Fred's image smaller */
@media (min-width: 981px) {
  .section.team-split .split-photo {
    max-width: 460px;  /* was 520px */
    height: 520px;     /* reduced height */
    object-fit: cover;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
    border: 2px solid rgba(166,136,83,0.1);
    display: block;
    margin-inline: auto;
  }
}

.services-modern {
  transform: scale(0.92);
  transform-origin: top center;
  max-width: 640px;
  margin-inline: auto;
  opacity: 0.98;
}
/* ===== Center "Our Services" relative to table ===== */

#services .content-box {
  display: flex;
  flex-direction: column;
  align-items: center;         /* centers everything horizontally */
  justify-content: center;
  text-align: center;
}

#services h2.display {
  margin-bottom: 1.5rem;
}

/* Make the services table a fixed width so it's easy to center */
.services-modern {
  width: 90%;                  /* controls how wide the table looks */
  max-width: 500px;            /* prevents it from stretching too wide */
  margin: 0 auto;              /* centers horizontally */
  text-align: left;            /* keeps text inside table left-aligned */
}
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.1rem; /* smaller, cleaner on phones */
    line-height: 1.4;
  }
}
.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* or 'center center' */
  border-radius: 12px;
}
.hero .hero-content h1 {
  font-size: clamp(1.8rem, 4vw + 0.5rem, 4.5rem);
  line-height: 1.1;
  max-width: 24ch;
  text-align: center;
  text-wrap: balance;
  margin: 0 auto;
}

/* Wider screens: allow a bit more width so it stays 2 lines */
@media (min-width: 1600px) {
  .hero .hero-content h1 {
    max-width: 28ch;
    font-size: clamp(2rem, 3.5vw + 0.5rem, 5rem);
  }
}
