@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;700;800&display=swap');

:root {
  /* Island vibes: lagoon turquoise + deep reef navy + sunset papaya */
  --lagoon: #0fb8a6;
  --lagoon-light: #4fd9c7;
  --ink-deep: #0a6e63;
  --ink-deeper: #073b44;
  --coral: #ff8c42;
  --coral-light: #ffab6e;
  --mist: #eaf9f6;
  --paper: #ffffff;
  --line: #d8ece8;
  --text: #0f2e31;
  --text-soft: #3e5d5c;
  --max: 1100px;
}
/* legacy alias kept so existing component rules using --sand/--coral continue to work */
:root { --sand: var(--mist); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: 'Outfit', -apple-system, sans-serif;
  margin: 0 0 14px;
  line-height: 1.12;
  font-weight: 800;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-deep); }
p { margin: 0 0 14px; }
.lead { font-size: 1.1rem; color: var(--text-soft); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- header ---- */
header.site {
  background: var(--ink-deeper);
  color: #eef7f4;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #eef7f4; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; white-space: nowrap; }
.brand .mark { width: 40px; height: 40px; border-radius: 10px; display: block; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
nav.primary { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.primary a { color: #d6ece6; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 8px 12px; border-radius: 999px; }
nav.primary a:hover, nav.primary a[aria-current="page"] { background: rgba(255,255,255,0.1); color: #fff; }
.nav-cta { background: var(--coral); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.lang-switch { border: 1px solid rgba(255,255,255,0.35); font-size: 0.8rem !important; padding: 7px 11px !important; }

/* ---- hero ---- */
.hero {
  padding: 0;
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(255,140,66,0.22), transparent 60%),
    radial-gradient(ellipse at 15% 0%, var(--lagoon) 0%, var(--ink-deeper) 58%);
  color: #eef7f4;
  overflow: hidden;
}
.hero::before {
  /* scattered sun-sparkle texture on the water */
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 10%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero .frond {
  position: absolute; right: -40px; top: -30px; width: 260px; height: 260px;
  opacity: 0.16; transform: rotate(12deg); pointer-events: none;
}
.hero .wrap { position: relative; padding: 72px 20px 0; z-index: 1; }
.hero .badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffd9c9; border: 1px solid rgba(239,111,83,0.5); background: rgba(239,111,83,0.12);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { max-width: 740px; }
.hero p.lead { max-width: 560px; color: #cfe6df; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-bottom: 56px; }

/* wave divider: sits at the bottom of a hero/section to transition color */
.wave-divider { display: block; width: 100%; height: auto; margin-top: -2px; }
.wave-divider path { fill: var(--paper); }
.wave-divider.to-mist path { fill: var(--mist); }

.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; font-family: 'Outfit', sans-serif; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-light); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #eef7f4; }
.btn-whatsapp { background: #25d366; color: #fff; }

section { padding: 56px 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 640px; margin: 0 auto 34px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; max-width: 680px; }
.eyebrow { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }

/* ---- service cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,60,55,0.1); }
.service-card .icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--lagoon), var(--ink-deep));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(10,110,99,0.28);
}
.service-card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 6px; }
.step .num {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink-deep); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 0.92rem; margin: 0; }

/* ---- portfolio ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper);
  display: flex; flex-direction: column;
}
.portfolio-card .shot { aspect-ratio: 16/10; background: var(--sand); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.portfolio-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card .body { padding: 20px 22px 24px; }
.portfolio-card .tag { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--coral); }
.portfolio-card p { color: var(--text-soft); font-size: 0.93rem; }
.portfolio-card a.visit { font-weight: 700; text-decoration: none; }

/* ---- quote form ---- */
.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; max-width: 680px; margin: 0 auto; box-shadow: 0 12px 34px rgba(11,79,70,0.08); }
.form-row { display: grid; gap: 6px; margin-bottom: 16px; }
.form-row label { font-weight: 700; font-size: 0.88rem; }
.form-row input, .form-row select, .form-row textarea {
  font: inherit; padding: 11px 13px; border: 1px solid #cbd6d2; border-radius: 8px; background: #fff; color: var(--text);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 8px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #e4f8ec; color: #1c7a44; border: 1px solid #b7e6c7; }
.alert-error { background: #fdecec; color: #a3291f; border: 1px solid #f3c0bb; }

.pricing-note { background: var(--sand); border-radius: 16px; padding: 24px 28px; text-align: center; }
.pricing-note h3 { margin-bottom: 6px; }
.pricing-note p { color: var(--text-soft); margin: 0; }

.footer-wave-wrap { background: var(--paper); line-height: 0; }
.footer-wave path { fill: var(--ink-deeper); }
footer.site { background: var(--ink-deeper); color: #b9d6cd; padding: 44px 0 24px; font-size: 0.88rem; margin-top: -1px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
@media (max-width: 700px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: #eef7f4; font-family: 'Outfit', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
footer.site a { color: #cfe6df; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; background: var(--paper); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-weight: 700; color: var(--coral); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 10px 0 0; color: var(--text-soft); font-size: 0.95rem; }

.breadcrumbs { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
