:root {
  --navy: #0C2D48;
  --navy-2: #123B5C;
  --blue: #3D7DCA;
  --teal: #1A9BAF;
  --slate: #7A8EA3;
  --copper: #D2722A;
  --copper-dark: #B65F1E;

  --ink: #0C2D48;
  --text: #33475B;
  --muted: #5F6B7A;
  --line: #E1E7EE;
  --bg: #FFFFFF;
  --bg-tint: #F4F7FA;
  --danger: #B42318;
  --success: #12705B;

  --radius: 12px;
  --shadow: 0 1px 2px rgba(12, 45, 72, .06), 0 8px 24px rgba(12, 45, 72, .06);
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

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

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

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .75rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.brand-sub { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--navy); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.75rem; color: var(--navy); cursor: pointer; padding: 6px; }

/* Hero */
.hero { background: var(--navy); color: #D5DEE7; padding: clamp(56px, 9vw, 110px) 0; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #5CC6D6; }
.hero .lead { font-size: 1.1rem; max-width: 34rem; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-mark { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; }
.mark { width: 100%; height: 100%; }
.mark-label {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; font-size: .82rem; font-weight: 500; padding: .4rem .75rem; border-radius: 999px;
  white-space: nowrap;
}
.mark-label.tl { top: 4%; left: 0; }
.mark-label.tr { top: 4%; right: 0; }
.mark-label.bl { bottom: 4%; left: 0; }
.mark-label.br { bottom: 4%; right: 0; }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy); color: #D5DEE7; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #5CC6D6; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, white); color: var(--accent); font-size: 1.6rem;
  margin-bottom: 18px;
}
.service p { color: var(--muted); font-size: .95rem; }
.service ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.service li { position: relative; padding-left: 1.4rem; font-size: .9rem; margin-bottom: .35rem; }
.service li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
.badge {
  display: inline-block; vertical-align: middle; margin-left: .35rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: #FBEBDD; color: #8A4513; padding: .2rem .5rem; border-radius: 999px;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature i { font-size: 2rem; color: var(--blue); display: block; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding-top: 8px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; left: 64px; right: -12px; height: 2px; background: var(--line);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.steps p { color: var(--muted); font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.about p { font-size: 1.05rem; max-width: 40rem; }
.about-mark { justify-self: center; width: min(220px, 60vw); height: auto; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.contact-list i {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--teal); font-size: 1.25rem;
}
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--blue); }

.contact-form { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 36px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid #C9D4DE; border-radius: 10px; padding: .75rem .9rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61, 125, 202, .2);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error { display: block; color: var(--danger); font-size: .82rem; margin-top: 4px; min-height: 0; }
.hidden-field { position: absolute; left: -9999px; }

.form-status { margin-top: 14px; font-size: .95rem; }
.form-status.success, .form-status.fail { padding: 14px 16px; border-radius: 10px; }
.form-status.success { background: #E3F4EE; color: var(--success); }
.form-status.fail { background: #FDECEA; color: var(--danger); }
.form-status a { color: inherit; font-weight: 600; }

/* Footer */
.site-footer { background: #091F33; color: #A9B8C6; padding-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { margin: 0; }
.footer-brand .brand-name { color: #fff; font-size: 1.05rem; }
.footer-tag { font-size: .88rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: #D5DEE7; text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp button */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; font-size: 1.9rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2); transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 1024px) {
  .services, .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps li::after { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }

  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .hero-mark { width: min(100%, 360px); }
  .about-mark { display: none; }
}

@media (max-width: 560px) {
  .services, .features, .steps, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .mark-label { font-size: .75rem; padding: .3rem .6rem; }
}

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