/* EcoCarib homepage design preview. Not the live site. */
:root {
  --navy: #102437;
  --navy-deep: #0b1a28;
  --ink: #1c2430;
  --muted: #4e5a67;
  --line: #d9ddd8;
  --cream: #f4f1ea;
  --paper: #ffffff;
  --green: #0b9444;
  --green-dark: #087a38;
  --green-soft: #e7f6ec;
  --max: 1120px;
  --header-h: 4.25rem;
  --radius: 1rem;
  --shadow: 0 16px 40px rgba(16, 36, 55, 0.12);
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Preview banner */
.preview-note {
  background: var(--navy-deep);
  color: #e8efe9;
  font-size: .8125rem;
  letter-spacing: .02em;
  text-align: center;
  padding: .45rem 1rem;
}
.preview-note strong { color: #fff; font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.logo img { height: 36px; width: auto; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.nav a:hover { color: var(--green); }
.header-phone {
  color: var(--navy) !important;
  font-weight: 600;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.btn-green {
  background: var(--green);
  color: #fff !important;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-white {
  background: #fff;
  color: var(--navy) !important;
  border-color: #fff;
}
.btn-white:hover { background: var(--cream); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.btn-outline-dark {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: #fff !important; }
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 6px;
  background: var(--navy);
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .header-phone { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: .85rem;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy-deep) center / cover no-repeat;
  min-height: 28rem;
  height: min(88svh, 44rem);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,40,.25) 0%, rgba(11,26,40,.35) 40%, rgba(11,26,40,.88) 100%),
    linear-gradient(90deg, rgba(11,26,40,.55) 0%, rgba(11,26,40,.15) 55%, rgba(11,26,40,.2) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 1.25rem 4.5rem;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b7e0c5;
  margin-bottom: .85rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 16ch;
  margin: 0 0 1rem;
  color: #fff;
}
.hero .lede {
  max-width: 36rem;
  font-size: 1.125rem;
  color: #e6ebe8;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Trusted by */
.trusted {
  background: var(--cream);
  padding: 1.75rem 1.25rem 2rem;
  border-bottom: 1px solid var(--line);
}
.trusted-inner { max-width: var(--max); margin: 0 auto; }
.trusted h2 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
  text-align: center;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.25rem;
}
.logo-row img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: .82;
  filter: contrast(1.05);
}
.logo-row img.wide { max-width: 170px; height: 36px; }
.logo-row img.mark { height: 52px; }

/* Sections */
.section { padding: 4.5rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  color: var(--navy);
}
.section .intro {
  max-width: 38rem;
  color: var(--muted);
  margin: 0 0 2.25rem;
}

/* Services */
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .tiles { grid-template-columns: repeat(5, 1fr); }
}
.tile {
  background: var(--cream);
  border: 1px solid #ebe7de;
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.4rem;
  min-height: 100%;
}
.tile-num {
  font-family: var(--serif);
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .65rem;
}
.tile h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Process */
.process { background: var(--navy); color: #e8eeea; }
.process h2, .process .intro { color: #fff; }
.process .intro { color: #c5d0c9; }
.steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.step {
  padding-top: .25rem;
  border-top: 2px solid var(--green);
}
.step strong {
  display: block;
  font-size: 1.05rem;
  margin: .85rem 0 .4rem;
  color: #fff;
}
.step p { margin: 0; color: #c5d0c9; font-size: .95rem; }
.step-n {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fd4a8;
  font-weight: 600;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .gallery-grid .feat { grid-row: 1 / span 2; }
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 220px;
  background: var(--navy);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.feat { min-height: 320px; }
.feat img { min-height: 320px; }
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem .85rem;
  background: linear-gradient(transparent, rgba(11,26,40,.8));
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
}

/* Partnership / about */
.about-block {
  background: var(--cream);
}
.about-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
}
.about-block p { color: var(--muted); }
.about-block p.lead {
  font-size: 1.15rem;
  color: var(--ink);
}
.meta-list { list-style: none; margin: 0; padding: 0; }
.meta-list li {
  padding: .85rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.meta-list span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.meta-list strong { color: var(--navy); font-weight: 600; }

/* Quote */
.quote { background: #fff; }
.quote-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .quote-grid { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 3rem; }
}
.contact-bits { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.contact-bits li { margin: 0 0 .65rem; }
.contact-bits a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-bits a:hover { color: var(--green); }

.form {
  background: var(--cream);
  border-radius: calc(var(--radius) + .25rem);
  padding: 1.5rem;
}
@media (min-width: 600px) { .form { padding: 1.85rem; } }
.form-row {
  display: grid;
  gap: .85rem;
  margin-bottom: .85rem;
}
@media (min-width: 600px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #cfd4ce;
  background: #fff;
  border-radius: .55rem;
  padding: .75rem .85rem;
  font: inherit;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}
textarea { min-height: 7rem; resize: vertical; }
.form .btn { width: 100%; margin-top: .4rem; border: 0; }
.form-note, .form-success {
  font-size: .9rem;
  color: var(--muted);
  margin: .75rem 0 0;
}
.form-success {
  display: none;
  background: var(--green-soft);
  color: var(--navy);
  padding: .85rem 1rem;
  border-radius: .55rem;
}
.form-success.show { display: block; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c5d0c9;
  padding: 3rem 1.25rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer h2, .site-footer h3 {
  font-family: var(--font);
  color: #fff;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: .75rem;
}
.brand-lockup img { height: 36px; width: 36px; }
.site-footer a { color: #e8eeea; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .45rem; }
.legal {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  color: #8b9891;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-items: flex-end;
}
.sticky-cta .btn { box-shadow: var(--shadow); }
.wa {
  background: #128c7e !important;
  border-color: #128c7e !important;
  color: #fff !important;
}
.wa:hover { background: #0e7368 !important; }

@media (min-width: 861px) {
  .sticky-cta .btn-green { display: none; } /* header already has it */
}


/* Home / Business toggle */
.seg-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  background: #fff;
  border: 1px solid #cfd4ce;
  border-radius: 999px;
  padding: .25rem;
  margin: 0 0 1.1rem;
}
.seg-toggle legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.seg-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .55rem .75rem;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.seg-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.seg-toggle label:has(input:checked) {
  background: var(--navy);
  color: #fff;
}
.seg-toggle label:has(input:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Suraya partner marks */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 1.35rem;
}
.partner-logos img {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
