/* ============================================================
   VERÓNICA FLOR — Abogada
   Base Styles · Reset · Design Tokens · Global Layout
   ============================================================ */

/* ----- Design Tokens (CSS Custom Properties) ----- */
:root {
  /* Palette */
  --color-primary:     #2D5F5D;
  --color-primary-dark: #234b49;
  --color-secondary:   #9D762D; /* Sincronizado con el logo */
  --color-brand-gold:  #9D762D; 
  --color-secondary-light: #B5914D;
  --color-bg:          #F8F9FA;
  --color-bg-alt:      #EFF1F3;
  --color-text:        #1A1A1A; /* Negro suave para lectura */
  --color-text-muted:  #4B5563; /* Gris para textos secundarios */
  --color-white:       #FFFFFF;
  --color-black:       #0D0D0D;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  2rem;      /* 32px */
  --fs-3xl:  2.5rem;    /* 40px */
  --fs-4xl:  3.25rem;   /* 52px */
  --fs-5xl:  4rem;      /* 64px */

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.02em;
  --tracking-wider:   0.06em;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 3.5rem;
  --space-5xl: 5rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --header-height: 64px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 8px 30px rgba(0, 0, 0, 0.10);
  --shadow-header: 0 1px 8px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
}


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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
  color: inherit;
}


/* ----- Global Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-brand-gold); /* Títulos unificados con el color del logo */
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl);  }
h5 { font-size: var(--fs-lg);  }
h6 { font-size: var(--fs-md);  }

p {
  max-width: 65ch;
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}


/* ----- Layout Utilities ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--space-5xl);
}

.section--alt {
  background-color: var(--color-bg-alt);
}


/* ----- Button System ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition:
    background-color var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--color-brand-gold);
  color: var(--color-white); /* Mayor contraste */
  border: none;
}

.btn--primary:hover {
  background-color: var(--color-secondary-light);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-brand-gold);
  border: 1.5px solid var(--color-brand-gold);
}

.btn--outline:hover {
  background-color: var(--color-brand-gold);
  color: var(--color-white);
}


/* ----- Header (Sticky) ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.header.is-scrolled {
  background-color: rgba(248, 249, 250, 0.97);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-brand-gold);
  white-space: nowrap;
  transition: transform var(--duration-base) var(--ease-out);
}

.header__brand img {
  height: 40px;
  width: auto;
}

.header__brand:hover {
  transform: scale(1.02);
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  letter-spacing: var(--tracking-wide);
  transition: color var(--duration-base) var(--ease-out);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-secondary);
  transition: width var(--duration-base) var(--ease-out);
}

.header__link:hover {
  color: var(--color-text);
}

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  margin-left: var(--space-xl);
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity var(--duration-fast) var(--ease-out);
}


/* ----- Hero Section ----- */
.hero {
  padding-top: var(--header-height);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-gold);
  background-color: var(--color-white);
  border: 1px solid var(--color-brand-gold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
  animation: fadeInUp 0.8s var(--ease-out) both;
  cursor: default;
}

.hero__badge:hover {
  background-color: var(--color-brand-gold);
  color: var(--color-white);
}

.hero__title {
  font-size: var(--fs-5xl);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--color-text); /* Más contraste para el hero */
  line-height: var(--lh-relaxed);
  max-width: 48ch;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-sm);
}

/* Hero decorative visual */
.hero__visual {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero__logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s var(--ease-out) 0.3s both;
}

/* Hero entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes morphBlob {
  0%   { border-radius: 42% 58% 62% 38% / 46% 52% 48% 54%; }
  25%  { border-radius: 52% 48% 42% 58% / 56% 38% 62% 44%; }
  50%  { border-radius: 38% 62% 52% 48% / 42% 58% 38% 62%; }
  75%  { border-radius: 58% 42% 38% 62% / 48% 44% 56% 52%; }
  100% { border-radius: 46% 54% 58% 42% / 52% 48% 42% 58%; }
}


/* ----- Section Label (shared) ----- */
.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: 2.5rem;
}

.section__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.5px;
  background-color: var(--color-secondary);
}


/* ----- About Section ----- */
.about {
  padding-block: var(--space-5xl);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
}

.about__image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.about__image-accent {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.5;
}

.about__content {
  max-width: 560px;
}

.about__title {
  font-size: var(--fs-3xl);
  color: var(--color-brand-gold);
  margin-bottom: var(--space-xl);
}

.about__quote {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-2xl);
  border-left: 3px solid var(--color-brand-gold);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-text); /* Bajada en negro como solicitaste */
  line-height: var(--lh-snug);
}

.about__content p {
  margin-bottom: var(--space-lg);
}

.about__content p strong {
  color: var(--color-brand-gold);
  font-weight: var(--fw-semibold);
}

.about__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.about__detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
  background-color: rgba(45, 95, 93, 0.06);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.about__detail strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  line-height: var(--lh-snug);
}

.about__detail span:not(.about__detail-icon) {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}


/* ----- Section Header (shared) ----- */
.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header h2 {
  margin-bottom: var(--space-md);
}

.section__header--center {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.section__header--center .section__label {
  padding-left: 0;
}

.section__header--center .section__label::before {
  display: none;
}

.section__intro {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  max-width: 55ch;
}

.section__header--center .section__intro {
  margin-inline: auto;
}


/* ----- Services Section ----- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  padding: var(--space-2xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 95, 93, 0.12);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-lg);
  background: linear-gradient(
    135deg,
    rgba(45, 95, 93, 0.08) 0%,
    rgba(232, 184, 114, 0.10) 100%
  );
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: background var(--duration-base) var(--ease-out);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(
    135deg,
    rgba(45, 95, 93, 0.14) 0%,
    rgba(232, 184, 114, 0.18) 100%
  );
}

.service-card__title {
  font-size: var(--fs-lg);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  max-width: none;
}

/* Bottom accent line on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transition: width var(--duration-slow) var(--ease-out);
}

.service-card:hover::after {
  width: 60%;
}


/* ----- Values Section ----- */
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.value-card {
  position: relative;
  padding: var(--space-2xl) var(--space-2xl) var(--space-2xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.value-card:hover {
  border-top-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.value-card__number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-regular);
  color: rgba(45, 95, 93, 0.07);
  line-height: 1;
  user-select: none;
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  background-color: rgba(45, 95, 93, 0.06);
  border-radius: var(--radius-full);
  transition: background-color var(--duration-base) var(--ease-out);
}

.value-card:hover .value-card__icon {
  background-color: rgba(232, 184, 114, 0.15);
}

.value-card__title {
  font-size: var(--fs-lg);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  max-width: none;
}


/* ----- Footer ----- */
.footer {
  padding-block: var(--space-3xl);
  background-color: #1A1A1A; /* Negro suave premium */
  color: var(--color-white);
  border-top: 1px solid rgba(157, 118, 45, 0.2); /* Línea dorada sutil */
}


/* ----- Contact Section ----- */
.contact__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.form__input {
  padding: 0.85rem 1rem;
  font-size: var(--fs-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--radius-md);
  outline: none;
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.form__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form__input:focus {
  border-color: var(--color-brand-gold);
  box-shadow: 0 0 0 3px rgba(157, 118, 45, 0.10);
}

.form__input.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.form__input.is-valid {
  border-color: var(--color-brand-gold);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  font-size: var(--fs-xs);
  color: #e74c3c;
  min-height: 1rem;
  line-height: var(--lh-normal);
}

.contact__submit {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

.form__disclaimer {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  max-width: none;
}

/* Success state */
.btn--success {
  background-color: var(--color-brand-gold);
  color: var(--color-white);
}

/* WhatsApp button */
.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-white);
  background-color: #25D366;
  border-radius: var(--radius-md);
  transition:
    background-color var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.btn--whatsapp:hover {
  background-color: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.30);
}

.btn--whatsapp:active {
  transform: translateY(0);
}

/* Contact Info */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact__info-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  background-color: rgba(45, 95, 93, 0.08);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact__info-item strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  line-height: var(--lh-snug);
}

.contact__info-item span,
.contact__info-link {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact__info-link:hover {
  color: var(--color-brand-gold);
}


/* ----- Footer (expanded) ----- */
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-brand-gold);
  display: block;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-xs);
  max-width: none;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-base) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-brand-gold);
}

.footer__link--small {
  font-size: var(--fs-xs);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
}

.footer__social-link:hover {
  color: var(--color-white);
  background-color: var(--color-brand-gold);
  transform: translateY(-2px);
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  max-width: none;
}


/* ----- Active Nav Link ----- */
.header__link.is-active {
  color: var(--color-text);
}

.header__link.is-active::after {
  width: 100%;
}

/* Ocultar el subrayado activo permanentemente cuando se hace hover en el menú */
.header__menu:hover .header__link.is-active:not(:hover)::after {
  width: 0;
}


/* ----- Scroll Reveal Animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards in grids */
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.values__grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.values__grid .reveal:nth-child(3) { transition-delay: 0.20s; }
.values__grid .reveal:nth-child(4) { transition-delay: 0.30s; }


/* ----- Selection ----- */
::selection {
  background-color: var(--color-secondary);
  color: var(--color-black);
}


/* ----- Scrollbar (Chromium) ----- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}


/* ============================================================
   Responsive
   ============================================================ */

/* Desktop: two-column layouts */
@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    display: flex;
  }

  .about__container {
    grid-template-columns: 0.85fr 1fr;
    gap: var(--space-4xl);
  }

  .about__details {
    flex-direction: row;
    gap: var(--space-2xl);
  }

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

  .values__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact__container {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
    gap: var(--space-4xl);
  }

  .footer__container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .footer__brand {
    text-align: left;
  }

  .footer__social {
    margin-left: auto;
    margin-right: var(--space-xl);
  }

  .footer__copy {
    margin-top: 0;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3.25rem;
    --fs-4xl: 2.75rem;
    --fs-3xl: 2rem;
    --fs-2xl: 1.75rem;
  }

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

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --space-5xl: 3.5rem;
  }

  .header__nav,
  .header__cta {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  /* Mobile nav overlay — to be activated via JS */
  .header__nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    padding-top: var(--header-height);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    z-index: 999;
  }

  .header__nav.is-open .header__menu {
    flex-direction: column;
    gap: var(--space-2xl);
    text-align: center;
  }

  .header__nav.is-open .header__link {
    font-size: var(--fs-lg);
  }

  .hero {
    min-height: auto;
    padding-block: var(--space-5xl);
    padding-top: calc(var(--header-height) + var(--space-3xl));
  }

  .hero__title br {
    display: none;
  }

  .about__image-wrapper {
    max-width: 320px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
    --container-padding: 1rem;
    --space-5xl: 3rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__image-accent {
    display: none;
  }
}

/* ----- Floating WhatsApp Button ----- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

