/* =========================================================
   Shiva Poovar Boating — style.css
   Mobile-first. Tokens translated from the design handoff.
   ========================================================= */

:root {
  --bg:            #FAF8F2;   /* warm off-white */
  --bg-tint:       #EEF4EE;   /* pale green section */
  --badge-bg:      #DFEFE3;
  --badge-bg-blue: #DEEBF3;
  --ink:           #232B25;   /* near-black green */
  --ink-soft:      #414A43;
  --muted:         #5C665E;
  --muted-2:       #79837B;
  --green-deep:    #1E4D38;   /* headings on dark, dark cards */
  --green:         #2A6A4D;   /* links, outlines, active nav */
  --green-cta:     #229A5C;   /* WhatsApp buttons */
  --blue-cta:      #2E7CA6;   /* call buttons */
  --orange:        #E08A3C;   /* "Most Popular" badge */
  --footer-bg:     #1A241E;
  --footer-ink:    #C9D2CB;
  --border:        #D8DED5;
  --white:         #ffffff;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 16px;
  --shadow-card: 0 20px 40px rgba(30, 77, 56, .25);
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --container: 1200px;
  --pad-x: 20px;
  --section-y: 44px;
}

@media (min-width: 768px) {
  :root { --pad-x: 24px; --section-y: 56px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }
a:hover { color: var(--green-deep); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--green-deep); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-deep);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue-cta);
  outline-offset: 2px;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--wa { background: var(--green-cta); color: #fff; }
.btn--wa:hover { background: #1E8A52; color: #fff; }
.btn--call { background: var(--blue-cta); color: #fff; }
.btn--call:hover { background: #286D92; color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green);
}
.btn--outline:hover { background: var(--badge-bg); color: var(--green-deep); }
.btn--dark { background: var(--green-deep); color: #fff; font-size: 14px; padding: 10px 20px; }
.btn--dark:hover { background: #173C2C; color: #fff; }
.btn--sm { font-size: 15px; padding: 12px 22px; }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-row--center { justify-content: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--green-deep);
  white-space: nowrap;
}
.brand__tag {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}

.nav {
  display: none;
}
.nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--bg);
  padding: 12px 24px 20px;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(26, 36, 30, .08);
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .nav a { font-size: 14px; padding: 4px 0; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { height: 300px; } }

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 36, 30, .15), rgba(26, 36, 30, .7));
  display: flex;
  align-items: flex-end;
}
.page-hero__overlay .container { width: 100%; padding-bottom: 28px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}
.breadcrumb {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 13px;
}
.breadcrumb li { color: rgba(255, 255, 255, .85); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.55); }

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: var(--section-y);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 56px; }
}

.eyebrow {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 18px;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 52ch;
}
@media (min-width: 768px) { .hero__lead { font-size: 18px; } }

.hero__collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 300px;
}
@media (min-width: 768px) { .hero__collage { height: 420px; } }

.hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-l);
}
.hero__collage img:first-child { grid-row: 1 / 3; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
@media (min-width: 768px) { .card-grid { gap: 24px; } }

.card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 24px;
}
@media (min-width: 768px) { .card { padding: 26px; } }

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.card__icon--blue { background: var(--badge-bg-blue); }

.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.section-title {
  font-size: clamp(24px, 3vw, 28px);
  margin: 0 0 24px;
  text-align: center;
}
.section-title--left { text-align: left; }

/* ---------- Home gallery strip ---------- */

.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) { .strip { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 768px) { .strip img { height: 200px; } }

.strip-more { text-align: center; margin-top: 20px; }
.strip-more a { font-weight: 700; text-decoration: none; }
.strip-more a:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

.quote {
  background: var(--bg);
  border-radius: var(--radius-m);
  padding: 26px;
  margin: 0;
}
.quote p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.quote footer, .quote cite {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
}

/* ---------- Split rows (Services) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }

.split + .split { margin-top: 48px; }
@media (min-width: 860px) { .split + .split { margin-top: 56px; } }

.split img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-l);
}
@media (min-width: 860px) {
  .split img { height: 320px; }
  .split--flip img { order: 2; }
  .split--flip div { order: 1; }
}

.split h2 { font-size: clamp(22px, 3vw, 26px); margin: 0 0 16px; }
.split p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }
.split ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  border: 2px solid #E3E8E0;
}
.plan h3 { font-size: 18px; margin: 0 0 12px; color: var(--muted); }
.plan__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.plan__unit { font-size: 13px; color: var(--muted-2); margin-bottom: 24px; }

.plan--featured {
  background: var(--green-deep);
  border: none;
  padding: 40px 28px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 860px) { .plan--featured { transform: scale(1.04); } }
.plan--featured h3 { color: #fff; }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__unit { color: var(--footer-ink); }
.plan--featured .btn--wa { background: #fff; color: var(--green-deep); }
.plan--featured .btn--wa:hover { background: var(--bg-tint); }

.plan__badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.note { text-align: center; color: var(--muted); font-size: 14px; }
.note--sm { font-size: 13px; }

/* ---------- Gallery ---------- */

.masonry {
  columns: 2 160px;
  column-gap: 12px;
}
@media (min-width: 640px) { .masonry { columns: 3 220px; column-gap: 14px; } }
@media (min-width: 1000px) { .masonry { columns: 4 260px; } }

.masonry img {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 12px;
  break-inside: avoid;
}
@media (min-width: 640px) { .masonry img { margin-bottom: 14px; } }

/* ---------- About ---------- */

.prose { max-width: 1000px; }
.prose h2 { font-size: clamp(22px, 3vw, 26px); margin: 0 0 16px; }
.prose p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; }

.person {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 640px) { .person { grid-template-columns: auto 1fr; gap: 28px; } }

.person img {
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-l);
}
.person h2 { font-size: 22px; margin: 0 0 8px; }
.person p { margin: 0 0 4px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.contact-grid h2 { font-size: 24px; margin: 0 0 20px; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 28px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
  font-style: normal;
}
.contact-card strong { color: var(--ink); }
.contact-card a { font-weight: 700; }

.map-embed {
  border-radius: var(--radius-l);
  overflow: hidden;
  height: 260px;
}
@media (min-width: 768px) { .map-embed { height: 280px; } }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */

.cta { text-align: center; }
.cta h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 12px; }
.cta p { color: var(--muted); font-size: 16px; margin: 0 0 26px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 40px 0;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}
.site-footer address { font-style: normal; }
.site-footer a { color: var(--footer-ink); }
.site-footer a:hover { color: #fff; }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 210, 203, .2);
  width: 100%;
}
.site-footer__nav a { text-decoration: none; font-weight: 600; }
.site-footer__copy { width: 100%; margin-top: 12px; font-size: 13px; color: #8B968D; }

/* ---------- Floating buttons ---------- */

.floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) { .floating { right: 20px; bottom: 20px; } }

.floating a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 999px;
}
.floating a:hover { color: #fff; }
.floating__wa { background: var(--green-cta); box-shadow: 0 8px 20px rgba(34, 154, 92, .4); }
.floating__call { background: var(--blue-cta); box-shadow: 0 8px 20px rgba(46, 124, 166, .4); }
.floating__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
