/* ============================================
   DESIGN SYSTEM — Agustín Haag Landing Page
   Based on Stitch mockups
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --primary: #13b6ec;
  --primary-dark: #0e96c4;
  --primary-light: #e8f7fd;
  --primary-gradient: linear-gradient(135deg, #13b6ec 0%, #0a8dbe 100%);

  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe5d;

  --text-900: #0f172a;
  --text-700: #334155;
  --text-500: #64748b;
  --text-300: #94a3b8;
  --text-100: #cbd5e1;

  --bg-white: #ffffff;
  --bg-50: #f8fafc;
  --bg-100: #f1f5f9;
  --bg-hero: linear-gradient(150deg, #e8f7fd 0%, #f0f9ff 40%, #ffffff 100%);
  --bg-quote: linear-gradient(150deg, #0f172a 0%, #1e293b 100%);

  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 12px 48px rgba(15, 23, 42, 0.16);

  /* Typography */
  --font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 6rem;
  --container-max: 1200px;
  --container-px: 1.5rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-700);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

select,
input {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--text-900);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(19, 182, 236, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 182, 236, 0.4);
}

.btn--ghost {
  color: var(--text-700);
  border-color: var(--border);
  background: var(--bg-white);
}

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

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  width: 100%;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--submit {
  background: var(--primary-gradient);
  color: #fff;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(19, 182, 236, 0.3);
  margin-top: 0.5rem;
}

.btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 182, 236, 0.45);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin-top: 0.75rem;
  color: var(--text-500);
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-tag--light {
  background: rgba(19, 182, 236, 0.15);
  color: #7dd3fc;
}

/* Gradient text */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-900);
  letter-spacing: -0.02em;
}

.logo__accent {
  color: var(--primary);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-500);
}

.navbar__links li a:hover {
  color: var(--primary);
}

.navbar__links li a.btn {
  color: #fff;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.navbar__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-900);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--bg-hero);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}

.hero__content h1 {
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-500);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.2;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-500);
  font-weight: 500;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Image */
.hero__image {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero__image-wrapper {
  position: relative;
  width: 380px;
  height: 440px;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-2xl);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.hero__image-accent {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-2xl);
  background: var(--primary-gradient);
  opacity: 0.15;
  z-index: 1;
  animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-5px, -8px);
  }
}

.hero__bg-shape {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 182, 236, 0.06) 0%, transparent 70%);
  pointer-events: none;
}


/* ============================================
   TRUST BADGES — CAROUSEL
   ============================================ */
.trust {
  padding: 3rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trust__title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.trust__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.trust__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: trustScroll 12s linear infinite;
}

.trust__track:hover {
  animation-play-state: paused;
}

.trust__logo {
  flex-shrink: 0;
  width: calc(100vw / 5);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  filter: grayscale(40%) opacity(0.7);
}

.trust__logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.trust__logo img {
  height: 70px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@keyframes trustScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-50);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(19, 182, 236, 0.08);
}

.service-card:hover .service-card__icon--alt {
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08);
}

.service-card:hover .service-card__icon--accent {
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.08);
}

.service-card__icon--alt {
  background: #f0fdf4;
  color: #22c55e;
}

.service-card__icon--accent {
  background: #fef3c7;
  color: #f59e0b;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-500);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.service-card__link:hover {
  gap: 0.6rem;
}


/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-py) 0 2.5rem;
  background: var(--bg-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.about__content h2 {
  margin-bottom: 1.25rem;
}

.about__text {
  color: var(--text-500);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-50);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.about__feature:hover {
  background: var(--primary-light);
}

.about__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-900);
}

.about__feature span {
  font-size: 0.82rem;
  color: var(--text-500);
}


/* ============================================
   QUOTE / FORM
   ============================================ */
.quote {
  padding: var(--section-py) 0;
  background: var(--bg-quote);
  color: #fff;
  overflow: hidden;
}

.quote__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quote__info h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.quote__info>p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.quote__benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote__benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote__benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(19, 182, 236, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote__benefit strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.quote__benefit span {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Form */
.quote__form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  max-width: 100%;
  overflow: hidden;
}

.quote__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-700);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-900);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(19, 182, 236, 0.1);
}

.form-group input::placeholder {
  color: var(--text-300);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}

.input-icon {
  position: relative;
}

.input-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-icon input {
  padding-left: 2.5rem;
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error input,
.form-group.error select {
  border-color: #ef4444;
}

/* Textarea */
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-900);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
  font-family: var(--font);
  line-height: 1.5;
}

.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(19, 182, 236, 0.1);
}

.form-group textarea::placeholder {
  color: var(--text-300);
}

.form-group.error textarea {
  border-color: #ef4444;
}

.label-optional {
  font-weight: 400;
  color: var(--text-300);
  font-size: 0.8rem;
}

/* Button states */
.btn--success {
  background: var(--whatsapp) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
}

.btn-spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ============================================
   SOCIAL MEDIA
   ============================================ */
.social {
  padding: 2rem 0;
  background: var(--bg-50);
}

.social__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.social__embed {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 520px;
}

.social__embed iframe {
  display: block;
  width: 100%;
  border: none;
}

.social__embed blockquote {
  margin: 0;
}


/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 2.5rem 0 var(--section-py);
  background: var(--bg-50);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item:hover {
  border-color: var(--primary);
}

.faq__item.active {
  border-color: var(--primary);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-900);
  gap: 1rem;
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq__item.active .faq__icon {
  background: var(--primary-gradient);
  color: #fff;
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-500);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-900);
  color: #94a3b8;
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .navbar__logo {
  color: #fff;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer__links h4,
.footer__social h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

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

.footer__social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.social-icon--wa:hover {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
}

.footer__bottom {
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.82rem;
  text-align: center;
}


/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grouped elements */
[data-delay="0"] {
  transition-delay: 0s;
}

[data-delay="1"] {
  transition-delay: 0.15s;
}

[data-delay="2"] {
  transition-delay: 0.3s;
}

[data-delay="3"] {
  transition-delay: 0.45s;
}

[data-delay="4"] {
  transition-delay: 0.6s;
}

[data-delay="5"] {
  transition-delay: 0.75s;
}

/* Section tag shimmer */
.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

/* Number counter pop */
.stat strong.counted {
  animation: countPop 0.4s ease forwards;
}

@keyframes countPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}


/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__subtitle {
    margin: 0 auto 2rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__image {
    order: -1;
  }

  .hero__image-wrapper {
    width: 280px;
    height: 320px;
  }

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

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__photo {
    height: 320px;
  }

  .quote__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}


/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
  }

  /* Navbar Mobile */
  .navbar__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__links li {
    width: 100%;
  }

  .navbar__links li a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .navbar__links li a:hover {
    background: var(--bg-50);
  }

  .navbar__links li a.btn {
    text-align: center;
    margin-top: 0.5rem;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 7rem 0 4rem;
  }

  .hero__image-wrapper {
    width: 240px;
    height: 280px;
  }

  .hero__stats {
    flex-wrap: wrap;
  }

  .hero__image-accent {
    display: none;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Trust carousel */
  .trust__track {
    animation-duration: 10s;
  }

  .trust__logo {
    width: calc(100vw / 3);
    height: 60px;
  }

  .trust__logo img {
    height: 50px;
    max-width: 85%;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .quote__form-wrapper {
    padding: 1.25rem;
  }

  .quote__inner {
    gap: 2rem;
  }

  /* Social */
  .social__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Floating WA */
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--lg {
    padding: 0.85rem 1.5rem;
  }

  .btn--whatsapp svg {
    display: none;
  }
}