/* ============================================================
   SKYFORD — Global Stylesheet
   Change brand colors and fonts in :root below and every page
   updates automatically.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Mulish:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ---- Brand colors ---- */
  --teal:        #169B9B;   /* primary brand teal */
  --teal-dark:   #0E7C7C;   /* hover / deeper teal */
  --teal-deep:   #115E5E;   /* darkest accent */

  --ink:         #2E4440;   /* serif headings */
  --ink-soft:    #3A4944;   /* sub-headings */
  --body:        #5d6a66;   /* body copy */
  --muted:       #8b958f;   /* meta / captions */

  --bg:          #ffffff;
  --bg-alt:      #f3f6f5;   /* light section */
  --bg-tint:     #eef4f3;
  --line:        #e4e9e7;

  --white:       #ffffff;

  /* ---- Typography (swap globally here) ---- */
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body:    'Mulish', system-ui, -apple-system, Segoe UI, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;
  --shadow-sm: 0 4px 18px rgba(20,40,38,.06);
  --shadow-md: 0 18px 50px rgba(17,94,94,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================== reset ============================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); color: var(--ink); line-height: 1.18; font-weight: 700; }

/* ============================== helpers ============================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 110px); }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--script {
  font-family: var(--font-heading);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.35rem;
  font-weight: 400;
}
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h-lg { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.h-md { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.lead { font-size: 1.06rem; color: var(--body); max-width: 65ch; }
.measure-center { max-width: 760px; margin-inline: auto; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }

/* ============================== buttons ============================== */
.btn {
  --b: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  padding: 15px 30px; border-radius: 50px;
  background: var(--b); color: #fff; border: 2px solid var(--b);
  cursor: pointer; transition: all .25s var(--ease);
  text-transform: uppercase;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--light { background:#fff; color: var(--teal-deep); border-color:#fff; }
.btn--light:hover { background: transparent; color:#fff; border-color:#fff; }
.btn--arrow::after { content: "→"; font-size: 1.1em; }
.linkmore {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: .8rem; color: var(--teal);
}
.linkmore::after { content: "→"; transition: transform .25s var(--ease); }
.linkmore:hover::after { transform: translateX(5px); }

/* ============================== image placeholders ============================== */
.ph {
  position: relative;
  background-color: var(--bg-tint);
  background-image: repeating-linear-gradient(135deg, rgba(20,155,155,.10) 0 14px, rgba(20,155,155,.04) 14px 28px);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep); overflow: hidden;
  border-radius: var(--radius);
}
.ph span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255,255,255,.78); padding: 7px 12px; border-radius: 6px;
  color: var(--teal-deep); border: 1px solid rgba(17,94,94,.18);
}
.ph--dark { background-color:#1c2b29; background-image: repeating-linear-gradient(135deg, rgba(20,155,155,.22) 0 16px, rgba(255,255,255,.03) 16px 32px); }

/* ============================== top bar ============================== */
.topbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-height: 42px; }
.topbar a { color: var(--ink-soft); font-weight: 600; }
.topbar a:hover { color: var(--teal); }

/* ============================== header / nav ============================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 76px; width: auto; display: block; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff; font-family: var(--font-heading); font-weight: 900; font-size: 1.35rem;
}
.brand__name { font-family: var(--font-heading); font-weight: 900; font-size: 1.35rem; color: var(--ink); letter-spacing: .01em; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 12px 16px; font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  border-radius: 8px; transition: color .2s, background .2s;
}
.menu > li > a:hover, .menu > li.active > a { color: var(--teal); }
.menu > li.active > a { font-weight: 700; }
.has-sub > a::after { content: "⌄"; margin-left: 6px; font-size: .9em; position: relative; top: -2px; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md); min-width: 210px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 10px 14px; border-radius: 7px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.submenu a:hover { background: var(--bg-alt); color: var(--teal); }

.nav__cta { display: flex; align-items: center; gap: 16px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== hero ============================== */
.hero { position: relative; }
.hero__slides { position: relative; min-height: clamp(520px, 76vh, 760px); }
.hero__slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,30,28,.82) 0%, rgba(12,30,28,.5) 48%, rgba(12,30,28,.2) 100%); }
.hero__inner { position: relative; max-width: 600px; color: #fff; }
.hero__inner .eyebrow { color: #7fe3da; }
.hero h1, .hero h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 900; line-height: 1.12; }
.hero p { color: rgba(255,255,255,.9); margin-top: 20px; font-size: 1.06rem; max-width: 52ch; }
.hero .btn { margin-top: 32px; }
.hero__dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 12px; z-index: 5; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; transition: .25s; padding: 0; }
.hero__dots button.is-active { background: #fff; }

/* ============================== page hero (inner) ============================== */
.page-hero { position: relative; padding-block: clamp(70px, 11vw, 130px); color: #fff; text-align: center; }
.page-hero .ph--dark { position: absolute; inset: 0; border-radius: 0; }
.page-hero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(12,30,28,.7), rgba(12,30,28,.85)); }
.page-hero__inner { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 60ch; margin: 18px auto 0; }
.breadcrumb { color: #7fe3da; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }

/* ============================== feature grid (2x2 text blocks) ============================== */
.featgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(34px, 5vw, 64px); margin-top: 54px; }
.featgrid--3 { grid-template-columns: repeat(3, 1fr); }
.featgrid__item { text-align: center; }
.featgrid__item h3 { font-size: 1.28rem; position: relative; padding-bottom: 16px; margin-bottom: 14px; }
.featgrid__item h3::after { content:""; position:absolute; left:50%; bottom:0; transform: translateX(-50%); width: 46px; height: 3px; background: var(--teal); border-radius: 3px; }

/* ============================== teal split panel ============================== */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__panel { background: linear-gradient(150deg, var(--teal), var(--teal-deep)); color: #fff; padding: clamp(40px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.split__panel .eyebrow { color: #bdeee8; }
.split__panel h2 { color: #fff; }
.split__panel p { color: rgba(255,255,255,.9); margin-top: 18px; }
.split__media { position: relative; min-height: 420px; }
.split__media .ph { height: 100%; border-radius: 0; }

/* ============================== alternating feature rows ============================== */
.frow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(34px, 6vw, 76px); }
.frow + .frow { margin-top: clamp(48px, 7vw, 92px); }
.frow__media .ph { aspect-ratio: 4/3; }
.frow h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.frow p { margin-top: 16px; }
.frow .linkmore { margin-top: 22px; }
.frow--flip .frow__media { order: 2; }

/* ============================== service cards ============================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media .ph { aspect-ratio: 16/10; border-radius: 0; }
.card__body { padding: 24px 26px 28px; }
.card__body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card__body p { font-size: .96rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 46px; }

/* ============================== sustainability ============================== */
.sustain { display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch; }
.sustain__media { position: relative; min-height: 460px; }
.sustain__media .ph { height: 100%; border-radius: 0; }
.sustain__panel { background: linear-gradient(160deg, var(--teal), var(--teal-deep)); color: #fff; padding: clamp(40px, 6vw, 80px); }
.sustain__panel .eyebrow { color: #bdeee8; }
.sustain__panel h2 { color: #fff; margin-bottom: 26px; }
.acc { border-top: 1px solid rgba(255,255,255,.22); }
.acc__item { border-bottom: 1px solid rgba(255,255,255,.22); }
.acc__head {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.04rem; padding: 18px 36px 18px 0;
  position: relative; display: block;
}
.acc__head::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-family: var(--font-body); transition: transform .3s; }
.acc__item.open .acc__head::after { content: "–"; }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__body p { color: rgba(255,255,255,.88); padding-bottom: 20px; font-size: .96rem; }

/* ============================== stats ============================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--teal); line-height: 1; }
.stat__label { margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ============================== globe / locations ============================== */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }
.locs--3 { grid-template-columns: repeat(3, 1fr); }
.loc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; background: #fff;
  transition: .3s var(--ease);
}
.loc:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.loc h3 { font-size: 1.4rem; margin-bottom: 6px; }
.loc__city { color: var(--muted); font-weight: 600; margin-bottom: 18px; }

/* ============================== two-column intro ============================== */
.twocol { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(34px, 6vw, 70px); align-items: center; }
.specs { columns: 2; column-gap: 30px; margin-top: 22px; }
.specs li { break-inside: avoid; padding: 8px 0 8px 28px; position: relative; font-weight: 600; color: var(--ink-soft); font-size: .96rem; }
.specs li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ============================== quote + faq ============================== */
.quotefaq { display: grid; grid-template-columns: 1fr 1fr; }
.quote { background: linear-gradient(160deg, var(--teal), var(--teal-deep)); color: #fff; padding: clamp(40px, 6vw, 80px); }
.quote h2 { color: #fff; }
.quote p { color: rgba(255,255,255,.9); margin-top: 12px; }
.form { margin-top: 30px; display: grid; gap: 16px; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: .96rem; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 8px;
  padding: 14px 16px;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.7); }
.form input:focus, .form textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.2); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn--light { justify-self: start; }
.form small { color: rgba(255,255,255,.7); font-size: .76rem; line-height: 1.5; }
.form small a { color: #fff; text-decoration: underline; }

.faq { padding: clamp(40px, 6vw, 80px); background: var(--bg-alt); }
.faq .eyebrow { color: var(--teal); }
.faq h2 { margin-bottom: 24px; }
.faqlist { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__head {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; padding: 20px 40px 20px 0;
  position: relative;
}
.faq__head::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal); font-family: var(--font-body); transition: transform .3s; }
.faq__item.open .faq__head::after { content: "–"; }
.faq__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__body p { padding-bottom: 22px; font-size: .96rem; }

/* ============================== team ============================== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 48px; }
.member { text-align: center; }
.member .ph { aspect-ratio: 1/1; border-radius: 14px; margin-bottom: 16px; }
.member h3 { font-size: 1.15rem; }
.member span { color: var(--teal); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

/* ============================== clients ============================== */
.clients { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; align-items: center; margin-top: 44px; }
.client { width: 160px; height: 88px; display: flex; justify-content: center; align-items: center; }
.client .ph { height: 100%; width: 100%; }
.client img { width: 100%; height: 100%; object-fit: contain; }

/* ============================== final CTA ============================== */
.finalcta { position: relative; color: #fff; text-align: center; padding-block: clamp(64px, 9vw, 110px); background: linear-gradient(160deg, var(--teal), var(--teal-deep)); }
.finalcta .ph--dark { position: absolute; inset: 0; border-radius: 0; }
.finalcta__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(12,30,28,.78), rgba(17,94,94,.8)); }
.finalcta__inner { position: relative; }
.finalcta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.finalcta p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 16px auto 30px; }

/* ============================== footer ============================== */
.footer { background: var(--bg-alt); color: var(--body); padding-block: 64px 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: clamp(30px, 5vw, 60px); }
.footer h4 { color: var(--ink); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; font-family: var(--font-body); font-weight: 800; }
.footer__logo { height: 92px; width: auto; display: block; margin-bottom: 4px; }
.footer__links li a { display: inline-block; padding: 6px 0; transition: color .2s; }
.footer__links li a:hover { color: var(--teal); }
.footer__links .sub { padding-left: 16px; }
.footer__contact li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.footer__contact .ic { color: var(--teal); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: var(--ink); }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(20,40,38,.06); color: var(--ink); transition: .25s var(--ease);
}
.social a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer__bottom { margin-top: 54px; border-top: 1px solid var(--line); padding: 24px 0; text-align: center; font-size: .84rem; color: var(--muted); }

/* ============================== responsive ============================== */
@media (max-width: 980px) {
  .featgrid, .featgrid--3 { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .locs--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 90px 20px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 90; overflow-y: auto;
  }
  body.nav-open .menu { transform: translateX(0); }
  .menu > li > a { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .has-sub > a::after { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: .3s; z-index: 80; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 860px) {
  .hero__slides { min-height: clamp(440px, 70vh, 620px); }
  .hero__slide { padding-block: 70px; }
  .hero__bg::after { background: linear-gradient(100deg, rgba(12,30,28,.85) 0%, rgba(12,30,28,.62) 60%, rgba(12,30,28,.45) 100%); }
}
@media (max-width: 720px) {
  .split, .sustain, .quotefaq, .frow, .twocol { grid-template-columns: 1fr; }
  .frow--flip .frow__media { order: -1; }
  .split--reverse { direction: ltr; }
  .split__media, .sustain__media { min-height: 300px; order: -1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .featgrid, .featgrid--3, .cards, .locs, .locs--3, .team { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .specs { columns: 1; }
  .hero h1, .hero h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero p { font-size: 1rem; margin-top: 16px; }
  .hero .btn { margin-top: 24px; }
  .hero__dots { bottom: 18px; }
}
@media (max-width: 420px) {
  .featgrid, .stats { grid-template-columns: 1fr; }
  .hero__slides { min-height: 80vh; }
  .hero__slide { padding-block: 60px; }
}
