/* AguaOne — plain CSS, no frameworks */

:root {
  --navy: #071c2b;
  --navy-2: #0c3144;
  --blue: #0c6f90;
  --aqua: #149eb0;
  --text: #1c333d;
  --muted: #526872;
  --line: #d5e5ea;
  --paper: #f4fafb;
  --white: #ffffff;
  --danger: #9f2b22;
  --shadow: 0 16px 40px rgba(7, 28, 43, 0.08);
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { line-height: 1.15; color: var(--navy); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

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

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: var(--white);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #19b6c9, #0c6f90);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(180px, 58vw);
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: #d5e8ee;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover { color: var(--white); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-primary:hover { background: #0d3348; }

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

.btn-light:hover { background: #e7f6f8; }

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--aqua); color: var(--blue); }

.btn-nav {
  background: var(--white);
  color: var(--navy);
  padding: 9px 14px;
}

.btn-nav:hover { background: #e7f6f8; color: var(--navy); }

/* Hero */

.hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(20, 158, 176, 0.16), transparent 32%),
    linear-gradient(180deg, #f3fbfc 0%, #ffffff 70%);
  padding: 72px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dff4f6;
  color: #0b6578;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.03em;
}

.hero h1 span { color: var(--blue); }

.lead {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 28px;
  min-height: 380px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  top: -60px;
  right: -50px;
}

.hero-logo {
  width: min(300px, 88%);
  height: auto;
  position: relative;
  z-index: 1;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: #d5eaf0;
  max-width: 280px;
}

/* Sections */

section { padding: 80px 0; }

.section-head { max-width: 640px; margin-bottom: 32px; }

.label {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.partner h2,
.block h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.02em;
}

.section-head p { margin: 0; color: var(--muted); }

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

.about-grid,
.partner-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.prose p { color: var(--muted); }

.pillars,
.serve-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.pillar,
.serve-list li {
  border: 1px solid var(--line);
  background: #fbfeff;
  border-radius: 14px;
  padding: 14px 16px;
}

.pillar strong,
.serve-list li { color: var(--navy); }

.pillar span,
.serve-list li span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.steps b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f6f8;
  color: var(--blue);
  font-size: 13px;
}

.products { background: var(--paper); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product,
.why,
.contact-card,
.contact-form,
.partner-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product { padding: 22px; box-shadow: 0 8px 24px rgba(7, 28, 43, 0.04); }

.product h3,
.why h3 { margin: 0 0 8px; font-size: 20px; }

.product p,
.why p { margin: 0; color: var(--muted); font-size: 15px; }

.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #e7f7f8;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon-wrap svg { width: 34px; height: 34px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.tags li {
  font-size: 12px;
  font-weight: 700;
  color: #4d6772;
  background: #f1f7f8;
  border-radius: 999px;
  padding: 5px 9px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.why { padding: 20px; }

.why .num {
  margin: 0 0 10px;
  color: var(--aqua);
  font-weight: 800;
  font-size: 13px;
}

.partner {
  background: linear-gradient(145deg, #071c2b, #0c4a62);
  color: var(--white);
}

.partner h2 { color: var(--white); }

.partner .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #c9f4f7;
}

.partner p { color: #c9e3ea; max-width: 560px; }

.partner .actions { margin-top: 22px; }

.partner-box { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); padding: 24px; }

.partner-box h3 { color: var(--white); margin: 0 0 12px; font-size: 18px; }

.partner-box ul { margin: 0; padding: 0; list-style: none; }

.partner-box li {
  padding: 8px 0;
  color: #d7eef3;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-box li::before { content: "✓  "; color: #7ee0ea; }

.contact { background: var(--paper); }

.contact-grid { align-items: start; }

.contact-card,
.contact-form { padding: 26px; box-shadow: var(--shadow); }

.contact-card h3 { margin: 0 0 8px; font-size: 24px; }

address { font-style: normal; }

.detail { margin: 16px 0; }

.detail span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b9098;
}

.detail a { color: var(--navy); font-weight: 700; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field.full { grid-column: 1 / -1; }

label { font-size: 13px; font-weight: 700; color: #3e5964; }

input,
textarea {
  width: 100%;
  border: 1px solid #cfe0e5;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

textarea { min-height: 120px; resize: vertical; }

input:focus,
textarea:focus {
  border-color: var(--aqua);
  outline: 2px solid rgba(20, 158, 176, 0.25);
  outline-offset: 1px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: var(--danger); }

.error {
  min-height: 1.1em;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.form-note,
.form-status { color: var(--muted); font-size: 14px; }

.form-status { min-height: 1.4em; font-weight: 650; color: var(--navy); }

.form-status a { color: var(--blue); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #b7cdd4;
  padding: 36px 0 88px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.footer-logo { width: 150px; height: auto; display: block; margin-bottom: 8px; }

.site-footer a { color: #d5e8ee; }

.site-footer p { margin: 0 0 6px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}

.footer-links a { text-decoration: none; font-size: 14px; }

.legal { font-size: 13px; }

.whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: #128c7e;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
}

.whatsapp:hover { background: #0e7468; color: var(--white); }

.missing {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.missing h1 { font-size: clamp(32px, 5vw, 48px); }

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

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .bar { flex-wrap: wrap; padding: 10px 0; }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 4px 0 14px;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a { padding: 10px 0; width: 100%; }

  .hero-grid,
  .about-grid,
  .partner-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: 1fr 1fr; }

  .hero { padding: 48px 0 56px; }

  .hero-card { min-height: 280px; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }

  .product-grid,
  .why-grid,
  .pillars,
  .form-grid { grid-template-columns: 1fr; }

  .field.full { grid-column: auto; }

  .footer-grid { flex-direction: column; }

  .actions .btn,
  .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media print {
  .site-header { position: static; }
  .nav-toggle,
  .whatsapp,
  .form-actions { display: none !important; }
  .nav-links { display: flex !important; }
}
