/* ============================================
   WEBS MADRID — STYLESHEET
   Aesthetic: Editorial Architecture
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --navy:       #0C1B33;
  --navy-mid:   #1A2E4A;
  --gold:       #C9A84C;
  --gold-light: #E8D08A;
  --warm-white: #FAF8F5;
  --off-white:  #F0EDE8;
  --light-gray: #E4E1DC;
  --mid-gray:   #9A9590;
  --text:       #2A2420;
  --text-muted: #6B6560;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(12,27,51,0.06);
  --shadow:    0 8px 32px rgba(12,27,51,0.10);
  --shadow-lg: 0 24px 64px rgba(12,27,51,0.14);

  --max-w:   1240px;
  --gutter:  clamp(1.25rem, 4vw, 2.5rem);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--gold-light); color: var(--navy); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---- TYPOGRAPHY ---- */
.section-overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.section-title strong {
  font-weight: 600;
}

/* ---- SCROLL REVEAL ---- */
.reveal-fade,
.reveal-up,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-fade { transform: translateY(0); }
.reveal-up   { transform: translateY(28px); }
.reveal-scale { transform: scale(0.96); }

.reveal-fade.visible,
.reveal-up.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
[style*="--delay"].reveal-fade,
[style*="--delay"].reveal-up,
[style*="--delay"].reveal-scale {
  transition-delay: var(--delay, 0s);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--navy);
  color: var(--warm-white);
  border: 1.5px solid var(--navy);
}
.btn--primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--warm-white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

.btn__loading {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn--loading .btn__text { opacity: 0; }
.btn--loading .btn__loading { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--light-gray);
}

.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.header__logo:hover { opacity: 0.8; }

.header__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
}
.header__logo-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.header__logo-text strong {
  font-weight: 600;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header__nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.header__nav-link:hover { color: var(--navy); background: var(--off-white); }

.header__nav-cta {
  background: var(--navy);
  color: var(--warm-white);
  font-weight: 500;
  padding: 0.5rem 1.125rem;
  margin-left: 0.5rem;
}
.header__nav-cta:hover {
  background: var(--navy-mid);
  color: var(--warm-white);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--light-gray);
  background: rgba(250,248,245,0.98);
  backdrop-filter: blur(12px);
}
.header__mobile-menu.open { display: flex; }
.header__mobile-link {
  font-size: 1.05rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--off-white);
  color: var(--text);
  transition: color 0.2s;
}
.header__mobile-link:hover { color: var(--gold); }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem var(--gutter) 5rem;
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
}

.hero__bg-line {
  position: absolute;
  background: var(--gold);
  opacity: 0.12;
  pointer-events: none;
}
.hero__bg-line--1 {
  width: 1px;
  top: 0;
  bottom: 0;
  left: calc(var(--gutter) + 200px);
}
.hero__bg-line--2 {
  height: 1px;
  left: 0;
  right: 0;
  top: 55%;
  opacity: 0.08;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.hero__title strong {
  font-weight: 700;
  display: block;
  color: var(--navy);
}

.hero__subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Hero visual cards */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.hero__deco-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}
.hero__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.hero__card--1 { margin-left: 0; }
.hero__card--2 { margin-left: 2rem; }
.hero__card--3 { margin-left: 1rem; }
.hero__card--1::before,
.hero__card--2::before,
.hero__card--3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}

.hero__card-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.375rem;
  font-weight: 500;
}
.hero__card-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero__card-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--navy);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(0.5); opacity: 1; }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__visual { order: -1; }
  .hero__card--2,
  .hero__card--3 { margin-left: 0; }
  .hero__deco-circle { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: 6rem; padding-bottom: 4rem; }
  .hero__card--1, .hero__card--2, .hero__card--3 { margin-left: 0; }
}

/* ============================================
   MARQUESINA (Scrolling Service Ticker)
   ============================================ */
.marquesina {
  background: var(--navy);
  padding: 2rem var(--gutter);
  overflow: hidden;
}
.marquesina__track {
  display: flex;
  gap: 2rem;
  width: fit-content;
  animation: scrollMarquee 30s linear infinite;
}
.marquesina__item {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.02em;
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 600px) {
  .marquesina {
    padding: 1.5rem var(--gutter);
  }
  .marquesina__track {
    gap: 1.5rem;
    animation: scrollMarquee 20s linear infinite;
  }
  .marquesina__item {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
}

/* ============================================
   STATS BAR
   ============================================ */
.statsbar {
  background: var(--navy);
  padding: 3rem var(--gutter);
}
.statsbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.statsbar__item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1rem 1.5rem;
}
.statsbar__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.statsbar__number sup {
  font-size: 1.2rem;
  vertical-align: super;
}
.statsbar__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(250,248,245,0.6);
  letter-spacing: 0.04em;
}
.statsbar__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .statsbar__divider { display: none; }
  .statsbar__item { min-width: 50%; }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 7rem var(--gutter);
  background: var(--warm-white);
}
.services__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.services__header {
  margin-bottom: 4rem;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon-wrap {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.service-card__icon {
  width: 100%;
  height: 100%;
}

.service-card__number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--light-gray);
  letter-spacing: 0.05em;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-card__list {
  margin-bottom: 2rem;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--off-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card__list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.service-card__link {
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--transition), color var(--transition);
}
.service-card__link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.service-card__link:hover { color: var(--gold); }
.service-card__link:hover::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

/* ============================================
   DIGITAL HIGHLIGHT: SEO + META ADS
   ============================================ */
.digital-highlight {
  padding: 6rem var(--gutter);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--warm-white);
  position: relative;
  overflow: hidden;
}
.digital-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(201, 168, 76, 0.05);
  border-radius: 50%;
  pointer-events: none;
}
.digital-highlight__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.digital-highlight__content {
  max-width: 800px;
}
.digital-highlight__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
}
.digital-highlight__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.digital-highlight__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250, 248, 245, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
}
.digital-highlight__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
}
.highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.highlight-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
}
.highlight-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.highlight-card__icon svg {
  width: 100%;
  height: 100%;
}
.highlight-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 0.75rem;
}
.highlight-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.85);
  margin-bottom: 1.5rem;
}
.highlight-card__stat {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(201, 168, 76, 0.3);
}
.digital-highlight__cta-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 248, 245, 0.9);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .digital-highlight {
    padding: 4rem var(--gutter);
  }
  .digital-highlight__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .digital-highlight__title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }
  .highlight-card {
    padding: 1.5rem;
  }
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: 7rem var(--gutter);
  background: var(--off-white);
  position: relative;
}
.portfolio__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.portfolio__header {
  margin-bottom: 1.5rem;
  max-width: 600px;
}
.portfolio__intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 3rem;
  max-width: 560px;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.portfolio__grid .portfolio-card:nth-child(4) {
  grid-column: 1 / 2;
}
.portfolio__grid .portfolio-card:nth-child(5) {
  grid-column: 2 / 3;
}

.portfolio-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.portfolio-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,27,51,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__see {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
}

/* Mockup previews */
.portfolio-card__mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 0;
}
.mockup-bar {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #e8e8e8;
  flex-shrink: 0;
}
.mockup-bar span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
}
.mockup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  overflow: hidden;
}
.mockup-hero-block {
  flex: 1;
  border-radius: 3px;
  min-height: 60px;
}
.mockup-text-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-line { height: 6px; border-radius: 3px; background: rgba(0,0,0,0.12); }
.mockup-line--title { width: 60%; }
.mockup-line--sub { width: 40%; }
.mockup-cards-row {
  display: flex;
  gap: 5px;
}
.mockup-card-sm {
  flex: 1;
  height: 24px;
  border-radius: 3px;
  background: rgba(0,0,0,0.08);
}

/* Mockup color themes */
.portfolio-card__mockup--estetica { background: #f5edf0; }
.mockup-content--estetica .mockup-hero-block { background: linear-gradient(135deg, #e8c4cf 0%, #c9a0b5 100%); }
.mockup-content--estetica .mockup-line { background: rgba(153,80,100,0.15); }
.mockup-content--estetica .mockup-card-sm { background: rgba(201,160,181,0.2); }

.portfolio-card__mockup--restaurante { background: #f7f0e8; }
.mockup-content--restaurante .mockup-hero-block { background: linear-gradient(135deg, #c9845a 0%, #8b4513 100%); }
.mockup-content--restaurante .mockup-line { background: rgba(139,69,19,0.15); }
.mockup-content--restaurante .mockup-card-sm { background: rgba(201,132,90,0.2); }

.portfolio-card__mockup--clinica { background: #edf3f8; }
.mockup-content--clinica .mockup-hero-block { background: linear-gradient(135deg, #6dafd6 0%, #2d7cb5 100%); }
.mockup-content--clinica .mockup-line { background: rgba(45,124,181,0.15); }
.mockup-content--clinica .mockup-card-sm { background: rgba(109,175,214,0.2); }

.portfolio-card__mockup--tienda { background: #f0f0f0; }
.mockup-content--tienda .mockup-hero-block { background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.mockup-content--tienda .mockup-line { background: rgba(0,0,0,0.15); }
.mockup-content--tienda .mockup-card-sm { background: rgba(201,168,76,0.25); }

.portfolio-card__mockup--reformas { background: #eeece8; }
.mockup-content--reformas .mockup-hero-block { background: linear-gradient(135deg, #5a5a52 0%, #333330 100%); }
.mockup-content--reformas .mockup-line { background: rgba(51,51,48,0.15); }
.mockup-content--reformas .mockup-card-sm { background: rgba(229,115,0,0.2); }

.portfolio-card__info {
  padding: 1.5rem;
}
.portfolio-card__category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.portfolio-card__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 100px;
  padding: 0.25rem 0.625rem;
}

.portfolio__cta {
  text-align: center;
  padding-top: 1rem;
}
.portfolio__cta p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

@media (max-width: 1024px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid .portfolio-card:nth-child(4),
  .portfolio__grid .portfolio-card:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 600px) {
  .portfolio__grid { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 7rem var(--gutter);
  background: var(--warm-white);
}
.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__visual {
  position: relative;
  height: 400px;
}
.about__visual-box {
  position: absolute;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.about__visual-box--1 {
  top: 0;
  left: 0;
  right: 4rem;
  bottom: 4rem;
  background: var(--navy);
}
.about__visual-box--2 {
  bottom: 0;
  right: 0;
  left: 4rem;
  top: 4rem;
  background: white;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow);
  justify-content: center;
  align-items: center;
  text-align: center;
}
.about__visual-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.5);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.about__visual-year {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.about__visual-stat { }
.about__visual-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.about__visual-text {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about__visual-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.about__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about__values {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__value {
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
}
.about__value-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}
.about__value-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__visual { height: 280px; }
  .about__visual-year { font-size: 3rem; }
  .about__visual-num { font-size: 2.4rem; }
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 7rem var(--gutter);
  background: var(--navy);
}
.process__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.process__header {
  margin-bottom: 4rem;
}
.process__header .section-overline { color: rgba(201,168,76,0.8); }
.process__header .section-title { color: var(--warm-white); }
.process__header .section-title em { color: var(--gold); }

.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
}
.process__step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: background var(--transition);
}
.process__step:hover {
  background: rgba(255,255,255,0.08);
}
.process__step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1rem;
}
.process__step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 0.75rem;
}
.process__step-desc {
  font-size: 0.85rem;
  color: rgba(250,248,245,0.55);
  line-height: 1.7;
}
.process__step-arrow {
  width: 32px;
  height: 2px;
  background: rgba(201,168,76,0.3);
  margin-top: 3rem;
  flex-shrink: 0;
  position: relative;
}
.process__step-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 6px solid rgba(201,168,76,0.3);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media (max-width: 900px) {
  .process__steps {
    grid-template-columns: 1fr;
  }
  .process__step-arrow {
    width: 2px;
    height: 24px;
    margin-top: 0;
    margin-left: 2rem;
  }
  .process__step-arrow::after {
    right: -4px;
    top: auto;
    bottom: -1px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(201,168,76,0.3);
    border-bottom: none;
  }
}

/* ============================================
   FAQS
   ============================================ */
.faqs {
  padding: 7rem var(--gutter);
  background: var(--off-white);
}
.faqs__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.faqs__header {
  margin-bottom: 3rem;
  max-width: 600px;
}
.faqs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.faq-item {
  background: var(--warm-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.faq-item__button {
  width: 100%;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  transition: all var(--transition);
}
.faq-item__button:hover {
  background: var(--off-white);
}
.faq-item__question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  flex: 1;
}
.faq-item__icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item__button[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}
.faq-item__content {
  padding: 0 1.75rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid var(--light-gray);
  animation: slideDown var(--transition) ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .faqs {
    padding: 4rem var(--gutter);
  }
  .faqs__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .faq-item__button {
    padding: 1.5rem;
    font-size: 1rem;
  }
  .faq-item__content {
    padding: 0 1.5rem 1.5rem;
  }
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 7rem var(--gutter);
  background: var(--off-white);
}
.pricing__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.pricing__header {
  margin-bottom: 3rem;
  max-width: 700px;
}
.pricing__intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.25rem;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.pricing-card {
  background: var(--warm-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.03) 0%, rgba(201,168,76,0.02) 100%);
  transform: scale(1.05);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-card__header {
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1.5rem;
}
.pricing-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
}
.pricing-card__description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.pricing-card__features {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-card__features li {
  padding: 0.7rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  min-width: 18px;
}
.pricing__additional {
  background: var(--navy);
  color: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3rem;
}
.pricing__additional-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 2rem 0;
  color: var(--warm-white);
}
.pricing__additional-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.additional-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
}
.additional-item__label {
  font-size: 0.95rem;
  color: var(--warm-white);
}
.additional-item__price {
  font-weight: 600;
  color: var(--gold);
}
.pricing__cta {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  color: var(--warm-white);
}
.pricing__cta p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}
.pricing__cta strong {
  color: var(--gold);
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .pricing-card--featured {
    transform: scale(1);
  }
  .pricing__additional-items {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 7rem var(--gutter);
  background: var(--warm-white);
}
.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.contact__title em {
  font-style: italic;
  color: var(--gold);
}
.contact__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.2s;
  text-decoration: none;
}
a.contact__detail-item:hover { color: var(--gold); }
.contact__detail-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}
.contact__detail-item--static { cursor: default; }

/* Form */
.contact__form-wrap {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.125rem;
}
.form-group--privacy { margin-bottom: 1.5rem; }
.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}
.form-label span { color: var(--gold); }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--warm-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: white;
}
.form-input::placeholder { color: var(--mid-gray); }
.form-input.error { border-color: #c0392b; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9590' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  min-height: 1em;
  display: block;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.form-checkbox__box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 3px;
  background: white;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 1px;
  position: relative;
}
.form-checkbox input:checked + .form-checkbox__box {
  background: var(--navy);
  border-color: var(--navy);
}
.form-checkbox input:checked + .form-checkbox__box::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid white;
  border-bottom: 1.5px solid white;
  transform: rotate(-45deg);
}
.form-checkbox__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f0faf4;
  border: 1px solid #a7d4b8;
  border-radius: var(--radius-sm);
  color: #1a6b3a;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact__form-wrap { padding: 1.5rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 5rem var(--gutter) 0;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .header__logo-mark {
  background: var(--gold);
  color: var(--navy);
}
.footer__brand .header__logo-text { color: var(--warm-white); }
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(250,248,245,0.5);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.footer__email {
  font-size: 0.875rem;
  color: var(--gold);
  transition: opacity 0.2s;
}
.footer__email:hover { opacity: 0.75; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__nav-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.4);
  margin-bottom: 1rem;
}
.footer__nav-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(250,248,245,0.65);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer__nav-link:hover { color: var(--warm-white); }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(250,248,245,0.3);
}
.footer__legal {
  display: flex;
  gap: 1.25rem;
}
.footer__legal-link {
  font-size: 0.8rem;
  color: rgba(250,248,245,0.3);
  transition: color 0.2s;
}
.footer__legal-link:hover { color: rgba(250,248,245,0.7); }

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
