:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.05 250);
  --card: oklch(1 0 0);
  --primary: oklch(0.42 0.18 255);
  --primary-foreground: oklch(0.99 0.005 250);
  --primary-glow: oklch(0.62 0.18 245);
  --secondary: oklch(0.96 0.02 250);
  --muted-foreground: oklch(0.45 0.03 255);
  --border: oklch(0.91 0.02 250);
  --input: oklch(0.91 0.02 250);
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --gradient-hero: linear-gradient(135deg, oklch(0.28 0.13 258) 0%, oklch(0.45 0.18 250) 60%, oklch(0.62 0.18 245) 100%);
  --gradient-primary: linear-gradient(135deg, oklch(0.42 0.18 255), oklch(0.62 0.18 245));
  --shadow-elegant: 0 20px 50px -20px oklch(0.42 0.18 255 / 0.35);
  --shadow-card: 0 8px 30px -12px oklch(0.3 0.1 250 / 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: oklch(1 0 0 / 0.8);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: -0.2rem;
  color: var(--muted-foreground);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.button svg {
  width: 1rem;
  height: 1rem;
}

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

.button-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
}

.button-primary:hover {
  opacity: 0.9;
}

.button-light {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-elegant);
}

.button-light:hover {
  background: oklch(1 0 0 / 0.9);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 20px 50px -20px rgb(37 211 102 / 0.55);
}

.button-whatsapp:hover {
  filter: brightness(1.08);
}

.button-outline-light {
  border-color: oklch(1 0 0 / 0.3);
  background: oklch(1 0 0 / 0.05);
  color: var(--primary-foreground);
}

.button-outline-light:hover {
  background: oklch(1 0 0 / 0.15);
}

.button-sm {
  min-height: 2.25rem;
  border-radius: 0.5rem;
  padding: 0.55rem 0.875rem;
  font-size: 0.875rem;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg,
.hero-gradient,
.hero-shadow,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  background: var(--gradient-hero);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.hero-shadow {
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.4), transparent, rgb(0 0 0 / 0.3));
}

.hero-glow {
  background: radial-gradient(circle at 20% 20%, white, transparent 40%);
  opacity: 0.2;
}

.hero-content {
  position: relative;
  padding-block: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.hero-copy {
  padding-top: 2rem;
  color: var(--primary-foreground);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 1rem;
  height: 1rem;
}

.eyebrow-light {
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.1);
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero h1 span,
.final-cta h2 span {
  color: var(--primary-glow);
}

.hero-copy > p {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: oklch(1 0 0 / 0.85);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.stats {
  display: grid;
  max-width: 28rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stats strong {
  display: block;
  color: var(--primary-glow);
  font-size: 1.875rem;
  line-height: 1.1;
}

.stats span {
  display: block;
  margin-top: 0.25rem;
  color: oklch(1 0 0 / 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.form-wrap {
  position: relative;
}

.form-halo {
  position: absolute;
  inset: -1rem;
  display: block;
  border-radius: 999px;
  background: oklch(0.62 0.18 245 / 0.2);
  filter: blur(48px);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: oklch(1 0 0 / 0.95);
  padding: clamp(1.5rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.honey-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  min-height: 2.5rem;
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  background: white;
  color: var(--foreground);
  padding: 0.625rem 0.75rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 5.75rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.42 0.18 255 / 0.18);
}

.response-note {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.response-note svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 4rem;
}

.hero-gallery img {
  width: 100%;
  height: 12rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-elegant);
}

.trust-strip {
  border-block: 1px solid var(--border);
  background: oklch(0.96 0.02 250 / 0.5);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 1.5rem;
  text-align: center;
}

.trust-grid span,
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-grid span {
  justify-content: center;
  color: oklch(0.18 0.05 250 / 0.8);
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-grid svg,
.check-list svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.section {
  padding-block: 6rem;
}

.section-muted {
  border-block: 1px solid var(--border);
  background: oklch(0.96 0.02 250 / 0.4);
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2,
.split h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-heading p,
.split p {
  margin: 1rem 0 0;
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.section-center {
  margin-inline: auto;
  text-align: center;
}

.service-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card,
.step-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.step-card:hover {
  border-color: oklch(0.42 0.18 255 / 0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.icon-tile {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
}

.icon-tile svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3,
.step-card h3 {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
}

.service-card p,
.step-card p {
  margin: 0.5rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3rem;
}

.photo-stack {
  position: relative;
}

.photo-stack > img,
.rounded-photo {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-elegant);
}

.experience-badge {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  max-width: 13.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.experience-badge strong {
  display: block;
  color: var(--primary);
  font-size: 1.875rem;
  line-height: 1.1;
}

.experience-badge span {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  align-items: flex-start;
  color: oklch(0.18 0.05 250 / 0.85);
}

.check-list svg {
  margin-top: 0.15rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.project-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: 0.75rem;
}

.project-grid img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-grid figure:hover img {
  transform: scale(1.05);
}

.region-section {
  background: var(--gradient-hero);
  color: var(--primary-foreground);
}

.section-heading-light .eyebrow {
  color: var(--primary-glow);
}

.section-heading-light p {
  color: oklch(1 0 0 / 0.8);
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.region-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.1);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.region-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary-glow);
}

.step-number {
  position: absolute;
  top: -0.75rem;
  left: 1.75rem;
  border-radius: 0.375rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-card > svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary);
}

.large-cta {
  margin-top: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 3rem auto 0;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-list summary:hover {
  background: oklch(0.96 0.02 250 / 0.4);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--primary);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-list svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.faq-list p {
  margin: 0;
  padding: 0 1.5rem 1.25rem 3.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  text-align: center;
}

.final-cta-content h2 {
  max-width: 48rem;
  margin: 0 auto;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.final-cta-content > p {
  max-width: 42rem;
  margin: 1.25rem auto 2rem;
  color: oklch(1 0 0 / 0.85);
  font-size: 1.125rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 48rem;
  margin: 3rem auto 0;
  text-align: left;
}

.contact-grid a,
.contact-grid div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid oklch(1 0 0 / 0.15);
  border-radius: 0.75rem;
  background: oklch(1 0 0 / 0.1);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease;
}

.contact-grid a:hover {
  background: oklch(1 0 0 / 0.15);
}

.contact-grid svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  color: var(--primary-glow);
}

.contact-grid small {
  display: block;
  color: oklch(1 0 0 / 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-grid strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  word-break: break-word;
}

.footer {
  border-top: 1px solid var(--border);
  background: oklch(0.96 0.02 250 / 0.4);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-content div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-content img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.25rem;
  object-fit: contain;
}

.footer-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--whatsapp-dark);
  font-weight: 700;
}

.whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: white;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  box-shadow: 0 20px 50px -20px rgb(37 211 102 / 0.65);
  animation: bounce 1s infinite;
  transition: opacity 0.2s ease;
}

.floating-whatsapp:hover {
  filter: brightness(1.08);
}

.floating-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
}

.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 70;
  max-width: min(22rem, calc(100vw - 2rem));
  border-radius: 0.75rem;
  background: var(--foreground);
  color: white;
  padding: 0.875rem 1rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(-0.5rem);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-halo {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    padding-block: 4rem 3rem;
  }

  .hero-copy {
    padding-top: 1rem;
  }

  .hero-gallery,
  .project-grid,
  .trust-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-gallery img,
  .project-grid img {
    height: 12rem;
  }

  .experience-badge {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .button-sm {
    min-height: 2.15rem;
    padding-inline: 0.65rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 2.25rem;
    overflow-wrap: break-word;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .field-grid,
  .service-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery,
  .project-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero-gallery img,
  .project-grid img {
    height: 10.5rem;
  }

  .stats {
    gap: 1rem;
  }

  .stats strong {
    font-size: 1.65rem;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .faq-list summary {
    padding: 1rem;
  }

  .faq-list p {
    padding: 0 1rem 1rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
