:root {
  --ocean: #0d7a8c;
  --ocean-dark: #075a68;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --hairline: rgba(60, 60, 67, 0.13);
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.08);
  --max-width: 1100px;
  font-size: 16px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ocean);
  color: var(--white);
  flex-shrink: 0;
}

.brand-icon svg { width: 17px; height: 17px; }

.brand-sub {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-soft);
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Segmented control (iOS style) */
.segmented {
  display: flex;
  background: rgba(118, 118, 128, 0.12);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.segmented-btn {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.segmented-btn.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.22); }

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 25, 0.35) 0%, rgba(10, 20, 25, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  color: var(--white);
}

.eyebrow {
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 0.9rem;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-phone a { color: var(--white); text-decoration: none; }
.hero-phone a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 5rem 0; }
.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
}

.about { background: var(--bg-alt); }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.about-text p { color: var(--ink-soft); }

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .service-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .service-grid, .why-grid { grid-template-columns: 1fr; }
}

.service-card, .why-item {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--tile-color, var(--ocean));
  color: var(--white);
  margin-bottom: 0.9rem;
}

.icon-tile svg { width: 24px; height: 24px; }

.service-card h3, .why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-card p, .why-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.why { background: var(--white); }

.gallery { padding-top: 0; padding-bottom: 5rem; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr; }
}

.photo-strip img {
  border-radius: var(--radius);
  height: 260px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: var(--white);
}

.contact-box {
  text-align: center;
  max-width: 640px;
}

.contact h2 { color: var(--white); }
.contact p { color: rgba(255, 255, 255, 0.88); }

.contact-details {
  font-style: normal;
  margin: 1.75rem 0;
}

.contact-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.contact-phone {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.contact-phone a { color: var(--white); text-decoration: none; }
.contact-phone a:hover { text-decoration: underline; }

.contact .cta-row { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.25rem 0;
  font-size: 0.88rem;
}

.footer-inner { text-align: center; }

.footer-inner a { color: rgba(255, 255, 255, 0.92); }

.footer-note {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

/* Floating WhatsApp button */
.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #1c1c1e;
    --ink: #f5f5f7;
    --ink-soft: #98989d;
    --hairline: rgba(255, 255, 255, 0.12);
  }
  .site-header {
    background: rgba(0, 0, 0, 0.6);
  }
  .service-card, .why-item {
    background: #1c1c1e;
  }
  .segmented { background: rgba(118, 118, 128, 0.24); }
  .segmented-btn.is-active { background: #3a3a3c; color: var(--ink); }
  .footer-note { color: rgba(255, 255, 255, 0.35); }
}
