/* ---------- Shared section scaffolding ---------- */
.section{padding:64px 0;}
.section--tight{padding:48px 0;}
.section-head{display:grid;grid-template-columns:1.1fr .9fr;gap:var(--space-lg);align-items:end;margin-bottom:44px;}
.section-head--center{grid-template-columns:1fr;text-align:center;justify-items:center;max-width:680px;margin-left:auto;margin-right:auto;}
/* 56px at regular weight is the reference's section heading treatment */
.section-title{font-size:clamp(32px,3.6vw,56px);font-weight:400;line-height:1.07;letter-spacing:-.02em;margin:0;}
.section-lead{color:var(--ink-muted);font-size:17px;margin:0;max-width:52ch;}
@media (max-width:860px){.section{padding:64px 0;}.section-head{grid-template-columns:1fr;gap:var(--space-md);}}

/* ---------- Hero ----------
   Geometry mirrors the approved reference: the photo sits in a rounded panel
   inset 32px from the page edges, with a 1200px content column centred inside
   it and the fixed header overlaying the top. */
.hero{padding:28px var(--hero-inset) 0;}
.hero__panel{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  min-height:calc(100vh - 6vh);
  display:flex;
  align-items:center;
  color:#fff;
}
.hero__media{position:absolute;inset:0;z-index:0;}
.hero__media img{width:100%;height:100%;object-fit:cover;}
.hero__scrim{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(18,22,26,.80) 0%,rgba(18,22,26,.55) 45%,rgba(18,22,26,.10) 78%);
}

.hero__inner{
  position:relative;z-index:1;
  width:100%;max-width:1200px;margin:0 auto;
  padding:0 24px;
}
@media (min-width:1300px){.hero__inner{padding:0;}}

.hero__eyebrow{color:#fff;}
/* 46px / 1.4 keeps the headline on a single line at desktop, as in the reference */
.hero__title{
  font-size:clamp(30px,2.5vw,46px);
  line-height:1.4;letter-spacing:-.01em;
  max-width:720px;color:#fff;margin-bottom:10px;
}
@media (max-width:860px){.hero__title{line-height:1.2;}}
.hero__text{max-width:44ch;color:rgba(255,255,255,.85);font-size:16px;margin-bottom:28px;}
.hero__cta{padding-right:10px;}
.hero__cta-arrow{
  width:34px;height:34px;border-radius:50%;
  background:var(--accent);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
}

.hero__card{
  margin-top:96px;width:175px;
  background:rgba(0,0,0,.52);
  backdrop-filter:blur(4px);
  border-radius:12px;overflow:hidden;
}
.hero__card img{height:104px;width:100%;object-fit:cover;}
.hero__card-body{padding:12px 13px 11px;}
.hero__card-body p{color:#fff;font-size:13px;line-height:1.35;margin:0 0 8px;}
.hero__card-meta{display:flex;justify-content:space-between;color:rgba(255,255,255,.78);font-size:12px;}

.hero__pills{
  position:absolute;left:50%;transform:translateX(-50%);
  bottom:80px;z-index:1;
  width:100%;max-width:1200px;padding:0 24px;
  display:flex;gap:10px;justify-content:flex-end;flex-wrap:nowrap;
}
@media (min-width:1300px){.hero__pills{padding:0;}}
.hero__pills span{
  background:rgba(12,14,16,.55);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(4px);
  color:#fff;padding:9px 18px;border-radius:var(--radius-pill);
  font-size:13px;white-space:nowrap;
}

.hero__bar{
  position:absolute;left:0;right:0;bottom:0;z-index:1;
  height:52px;display:flex;align-items:center;justify-content:space-between;
  padding:0 max(24px, calc((100% - 1200px) / 2));
  background:rgba(12,14,16,.45);
  border-top:1px solid rgba(255,255,255,.16);
  font-size:13px;color:rgba(255,255,255,.8);
}

@media (max-width:1100px){
  .hero__pills{display:none;}
}
@media (max-width:860px){
  .hero{padding:0 16px;}
  .hero__panel{min-height:auto;padding:120px 0 92px;border-radius:18px;}
  .hero__card{margin-top:48px;}
  .hero__scrim{background:linear-gradient(180deg,rgba(18,22,26,.55) 0%,rgba(18,22,26,.78) 100%);}
}
/* ---------- Services ---------- */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.service-card{background:var(--surface);border-radius:10px;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,.035);display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease;}
.service-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.08);}
.service-card__media{position:relative;aspect-ratio:16/10;background:linear-gradient(135deg,#e9e2dc,#d8cfc8);}
.service-card__media img{width:100%;height:100%;object-fit:cover;}
.service-card__chip{position:absolute;left:16px;bottom:-20px;}
.service-card__body{padding:34px 20px 22px;display:flex;flex-direction:column;flex:1;}
.service-card__body h3{font-size:17px;font-weight:700;margin-bottom:10px;}
.service-card__body p{color:var(--ink-muted);font-size:16px;line-height:25px;flex:1;}
.service-card__link{color:var(--accent);font-weight:600;font-size:14.5px;display:inline-flex;gap:6px;align-items:center;margin-top:14px;}
@media (max-width:1040px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.services-grid{grid-template-columns:1fr;}}

/* ---------- About ---------- */
.about-panel{background:#FFF4F4;border-radius:22px;padding:52px 48px 50px;}
.about-panel .section-title{font-size:clamp(30px,3vw,46px);}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.about-checklist{margin:28px 0 32px;display:grid;gap:14px;}
.about-checklist li{display:flex;gap:12px;align-items:center;font-weight:500;}
.about-checklist svg{color:var(--accent);flex-shrink:0;}
.about-media{border-radius:var(--radius-md);overflow:hidden;aspect-ratio:4/3;background:linear-gradient(135deg,#e9e2dc,#cfc5bd);}
.about-media img{width:100%;height:100%;object-fit:cover;}
.about-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:24px;}
.stat{background:var(--surface);border-radius:var(--radius-md);padding:20px;}
.stat__num{color:var(--accent);font-size:28px;font-weight:700;line-height:1.1;display:block;}
.stat__label{color:var(--ink-muted);font-size:14px;}
@media (max-width:900px){.about-panel{padding:40px 24px;}.about-grid{grid-template-columns:1fr;gap:32px;}}

/* ---------- Process ---------- */
.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;}
.process-steps::before{content:'';position:absolute;top:44px;left:12%;right:12%;height:1px;background:rgba(216,38,32,.35);}
.step{text-align:center;position:relative;}
.step__circle{width:88px;height:88px;border-radius:50%;border:1px solid rgba(216,38,32,.45);background:var(--bg);color:var(--accent);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;position:relative;z-index:1;}
.step__num{width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.step h3{font-size:17px;margin-bottom:8px;}
.step p{color:var(--ink-muted);font-size:14.5px;line-height:1.55;max-width:26ch;margin:0 auto;}
@media (max-width:900px){.process-steps{grid-template-columns:repeat(2,1fr);}.process-steps::before{display:none;}}
@media (max-width:560px){.process-steps{grid-template-columns:1fr;}}

/* ---------- Team ---------- */
.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;}
.team-card{text-align:center;}
.team-card__photo{aspect-ratio:3/4;border-radius:var(--radius-md);overflow:hidden;background:linear-gradient(135deg,#e5ded8,#cdc3bb);margin-bottom:14px;}
.team-card__photo img{width:100%;height:100%;object-fit:cover;}
.team-card h3{font-size:20px;font-weight:700;margin-bottom:4px;}
.team-card span{color:var(--ink-muted);font-size:16px;}
@media (max-width:1040px){.team-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:620px){.team-grid{grid-template-columns:repeat(2,1fr);}}

/* ---------- Feature panel ---------- */
.feature-panel{display:grid;grid-template-columns:.85fr 1.15fr;border-radius:22px;overflow:hidden;background:#E9EBEE;}
.feature-panel__media{aspect-ratio:1/1;background:linear-gradient(135deg,#d6dade,#b9c0c7);}
.feature-panel__media img{width:100%;height:100%;object-fit:cover;}
.feature-panel__body{padding:56px;align-self:center;}
.feature-panel__body h2{font-size:clamp(28px,3.6vw,56px);font-weight:400;line-height:1.07;color:var(--dark);letter-spacing:-.02em;max-width:18ch;}
.feature-list{display:grid;gap:12px;margin:24px 0 32px;}
.feature-list li{display:flex;gap:12px;align-items:center;color:var(--dark);font-size:17px;}
.feature-list svg{color:var(--accent);flex-shrink:0;}
@media (max-width:900px){.feature-panel{grid-template-columns:1fr;}.feature-panel__body{padding:32px 24px;}.feature-panel__media{aspect-ratio:16/10;}}

/* ---------- Why choose ---------- */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
/* No card chrome in the reference: plain icon-and-text blocks on the ground */
.why-card{background:transparent;border-radius:0;padding:0 16px 0 0;box-shadow:none;}
.why-card .icon-chip{width:52px;height:52px;border-radius:var(--radius-md);margin-bottom:18px;}
.why-card h3{font-size:20px;font-weight:700;margin-bottom:10px;}
.why-card p{color:var(--ink-muted);font-size:16px;line-height:25px;margin:0;}
@media (max-width:1040px){.why-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.why-grid{grid-template-columns:1fr;}}

/* ---------- Testimonials ---------- */
.testimonial-grid{display:grid;grid-template-columns:58% 37.6%;justify-content:space-between;gap:0;align-items:center;}
.testimonial-col{position:relative;}
/* The card is inset 53px so the flanking arrows sit in the gutters; the
   heading above it stays flush with the container edge. */
.testimonial-carousel{position:relative;padding:0 53px;}
.section-head--stacked{grid-template-columns:1fr;margin-bottom:32px;}
.testimonial-list{display:grid;gap:20px;}
.testimonial{background:#F9F9F9;border-radius:12px;padding:38px 42px 35px;box-shadow:none;}
.testimonial__mark{color:var(--accent);font-size:40px;line-height:1;font-weight:700;}
.testimonial p{font-size:18px;line-height:1.6;margin:12px 0 18px;}
.testimonial__stars{color:var(--support);letter-spacing:3px;font-size:16px;}
.testimonial__name{font-weight:700;margin-top:12px;}
.testimonial__role{color:var(--ink-muted);font-size:14px;}
.testimonial-media{border-radius:12px;overflow:hidden;aspect-ratio:11/12;background:linear-gradient(135deg,#e5ded8,#cdc3bb);}
.testimonial-media img{width:100%;height:100%;object-fit:cover;}
@media (max-width:900px){.testimonial-grid{grid-template-columns:1fr;gap:28px;}.testimonial-media{display:none;}.testimonial-carousel{padding:0 46px;}}

/* ---------- Blog ---------- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.post-card{background:var(--surface);border-radius:10px;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,.035);display:flex;flex-direction:column;transition:transform .2s ease;}
.post-card:hover{transform:translateY(-4px);}
.post-card__media{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#e9e2dc,#d3cac3);}
.post-card__media img{width:100%;height:100%;object-fit:cover;}
.post-card__arrow{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;}
.post-card__body{padding:22px;}
.post-card__date{color:var(--ink-muted);font-size:13.5px;}
.post-card__body h3{font-size:20px;font-weight:700;margin:8px 0 10px;color:var(--accent);line-height:1.35;}
.post-card__body p{color:var(--ink-muted);font-size:16px;line-height:25px;margin:0;}
@media (max-width:1040px){.blog-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.blog-grid{grid-template-columns:1fr;}}

/* ---------- Closing CTA ---------- */
.cta-banner{position:relative;background:var(--accent);border-radius:12px;padding:56px 64px;overflow:hidden;display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:24px;}
.cta-banner h2{color:#fff;font-size:clamp(28px,3vw,46px);font-weight:400;line-height:1.1;letter-spacing:-.02em;max-width:16ch;}
.cta-banner p{color:rgba(255,255,255,.9);font-size:19px;margin-bottom:28px;}
.cta-banner__media{align-self:end;justify-self:end;max-width:320px;}
.cta-banner__media img{border-radius:0;}
@media (max-width:900px){.cta-banner{grid-template-columns:1fr;padding:40px 24px;}.cta-banner__media{display:none;}}

/* ---------- Media box normalisation ---------- */
.service-card__media,.post-card__media,.about-media,.team-card__photo,.testimonial-media{position:relative;}
.service-card__media img,.post-card__media img,.about-media img,.team-card__photo img,.testimonial-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}

/* ---------- CTA portrait breaks the frame ---------- */
.cta-banner{overflow:visible;}
.cta-banner{align-items:end;padding-bottom:0;}
.cta-banner > div:first-child{padding-bottom:64px;}
.cta-banner__media{align-self:end;margin-top:0;position:relative;z-index:1;max-width:340px;}
.cta-banner__media img{height:420px;width:auto;object-fit:contain;object-position:bottom;}
@media (max-width:900px){.cta-banner{padding-bottom:40px;}.cta-banner > div:first-child{padding-bottom:0;}}
