:root {
  --navy: #163d63;
  --navy-dark: #0f2c47;
  --orange: #f5a623;
  --orange-dark: #e38d0b;
  --sky: #77c8d4;
  --gray: #7d7d7d;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --text: #17324d;
  --text-soft: #5e7287;
  --border: #d8e4ee;
  --shadow: 0 16px 34px rgba(22, 61, 99, 0.08);
  --radius: 18px;
}

body[data-theme="dark"] {
  --bg: #0f1823;
  --surface: #162231;
  --surface-soft: #1b2c40;
  --text: #edf5ff;
  --text-soft: #a8bfd5;
  --border: #27415b;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f5f9 100%);
  transition: background 0.25s ease, color 0.25s ease;
}

body[data-theme="dark"] {
  background: linear-gradient(180deg, #101925 0%, #0b131d 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

iframe {
  border: 0;
}

.site-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--text-soft);
}

.site-nav a:hover {
  color: var(--navy);
}

.nav-button,
.button,
.text-link,
.theme-toggle {
  border-radius: 999px;
}

.nav-button {
  padding: 11px 18px;
  color: var(--surface);
  background: var(--navy);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.theme-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

body:not([data-theme="dark"]) .theme-toggle-light {
  background: var(--orange);
  color: var(--surface);
}

body[data-theme="dark"] .theme-toggle-dark {
  background: var(--navy);
  color: var(--surface);
}

.hero,
.page-hero,
.section,
.site-footer {
  padding-bottom: 64px;
}

.simple-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding-top: 32px;
}

.eyebrow,
.card-number,
.tag,
.card-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.card-number,
.card-title {
  color: var(--orange-dark);
}

.hero h1,
.page-hero h1,
.section h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.page-hero h1,
.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 14ch;
}

.lead,
.info-card p,
.project-preview p,
.site-footer p {
  color: var(--text-soft);
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  margin-top: 18px;
}

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

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 600;
}

.button-primary {
  color: var(--surface);
  background: var(--orange);
}

.button-secondary,
.text-link {
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-secondary:hover,
.text-link:hover {
  background: var(--surface-soft);
}

.hero-card,
.info-card,
.project-preview {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

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

.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.large-card h3,
.info-card h3,
.project-preview h3 {
  margin: 10px 0 12px;
  font-size: 1.5rem;
}

.accent-section {
  padding-top: 8px;
}

.tag {
  display: inline-block;
  padding: 7px 10px;
  color: var(--navy);
  background: #eaf7fa;
  border-radius: 999px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.form-note {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.form-success {
  margin-bottom: 14px;
  padding: 14px 16px;
  color: #0f5132;
  background: #d1f4df;
  border: 1px solid #9ad8b3;
  border-radius: 12px;
}

body[data-theme="dark"] .form-success {
  color: #d8ffe9;
  background: #163525;
  border-color: #2d6a4f;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
}

.captcha-box {
  display: grid;
  gap: 8px;
}

.captcha-box label {
  display: block;
}

.captcha-error {
  margin: 0;
  color: #b42318;
  font-size: 0.92rem;
}

body[data-theme="dark"] .captcha-error {
  color: #ff9b8f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  font: inherit;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--sky);
  border-color: var(--sky);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-detail {
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.contact-detail span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-detail strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.contact-map-card {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.map-frame {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 14px;
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
}

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

.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  background: var(--surface-soft);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: #ffffff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.28);
  z-index: 50;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 34px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 900px) {
  .simple-hero,
  .card-grid.three,
  .card-grid.two,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .page-hero h1,
  .section h2,
  .lead {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .site-wrap {
    width: min(100% - 20px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .footer-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links {
    width: 100%;
  }

  .theme-toggle {
    width: 100%;
    justify-content: space-between;
  }
}
