@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,650;9..144,800&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f3eb;
  --paper: #fffaf1;
  --paper-strong: #ffffff;
  --ink: #1d1d1b;
  --muted: #69645d;
  --line: rgba(29, 29, 27, 0.14);
  --brand: #b63d25;
  --brand-dark: #742416;
  --accent: #2f5f4a;
  --accent-2: #f3b24d;
  --shadow: 0 18px 50px rgba(22, 20, 17, 0.12);
  --radius: 8px;
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.niche-restaurante {
  --bg: #fbf4ea;
  --paper: #fff8ec;
  --paper-strong: #fffdf8;
  --brand: #b33d26;
  --brand-dark: #6f2015;
  --accent: #315f4b;
  --accent-2: #e8a545;
  --hero-image: url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1900&q=82");
  --cta-image: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1900&q=82");
}

body.niche-barberia {
  --bg: #eef2f0;
  --paper: #f8fbf8;
  --paper-strong: #ffffff;
  --brand: #1f5c5f;
  --brand-dark: #0e3336;
  --accent: #c58b36;
  --accent-2: #7f2535;
  --hero-image: url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=1900&q=82");
  --cta-image: url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1900&q=82");
}

body.niche-dentista {
  --bg: #eff8f7;
  --paper: #f8ffff;
  --paper-strong: #ffffff;
  --brand: #146c78;
  --brand-dark: #063d46;
  --accent: #6da96b;
  --accent-2: #f0b95a;
  --hero-image: url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1900&q=82");
  --cta-image: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1900&q=82");
}

body.niche-servicios {
  --bg: #f5f3ed;
  --paper: #fffaf0;
  --paper-strong: #ffffff;
  --brand: #0f4c5c;
  --brand-dark: #092f39;
  --accent: #e36f2c;
  --accent-2: #2c7a4b;
  --hero-image: url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1900&q=82");
  --cta-image: url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1900&q=82");
}

body.niche-inmobiliaria {
  --bg: #f1f4f3;
  --paper: #fbfdfc;
  --paper-strong: #ffffff;
  --brand: #254f6f;
  --brand-dark: #132d42;
  --accent: #b98b45;
  --accent-2: #547d62;
  --hero-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1900&q=82");
  --cta-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1900&q=82");
}

body.niche-hotel {
  --bg: #f2f6f4;
  --paper: #fbfffc;
  --paper-strong: #ffffff;
  --brand: #136a63;
  --brand-dark: #0b3d39;
  --accent: #d77d35;
  --accent-2: #2a5775;
  --hero-image: url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1900&q=82");
  --cta-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1900&q=82");
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: color-mix(in srgb, var(--paper-strong) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: grid;
  gap: 0;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-link span {
  color: var(--brand);
}

.brand-link small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 750;
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 12px;
  color: color-mix(in srgb, var(--ink) 78%, var(--brand));
}

.main-nav a:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.wa-mini,
.btn-primary {
  background: #0f8f54;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 143, 84, 0.22);
}

.wa-mini:hover,
.btn-primary:hover {
  background: #0b7745;
}

.hero {
  min-height: min(760px, calc(100svh - 34px));
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35) 54%, rgba(0, 0, 0, 0.08)),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, var(--bg), transparent);
  z-index: -1;
}

.hero-content {
  width: min(980px, 100%);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 6vw, 76px) clamp(46px, 8vh, 90px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: color-mix(in srgb, #fff 76%, var(--accent-2));
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 6.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.28rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  text-align: center;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 98px) clamp(18px, 4vw, 54px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 30px;
}

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

.section-head h2 {
  margin: 0;
  font-size: 4.35rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p:last-child,
.muted {
  color: var(--muted);
}

.section-head p {
  margin: 0;
}

.kicker {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.benefit-card,
.faq details,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 10px 26px rgba(22, 20, 17, 0.06);
}

.service-card,
.benefit-card {
  min-height: 178px;
  padding: 22px;
}

.service-card .label,
.benefit-card .label {
  display: inline-flex;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--accent-2);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3,
.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.service-card p,
.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 245px;
  gap: 14px;
}

.gallery-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d9d4ca;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 12px 12px 12px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.band {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 52%),
    color-mix(in srgb, var(--paper) 82%, var(--accent) 8%);
}

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

.location-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.location-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--brand-dark);
  color: #fff;
}

.location-panel h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

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

.location-list strong {
  display: block;
  color: color-mix(in srgb, #fff 72%, var(--accent-2));
  font-size: 0.78rem;
  text-transform: uppercase;
}

.map-card {
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    repeating-linear-gradient(35deg, transparent 0 42px, rgba(0, 0, 0, 0.055) 42px 45px),
    repeating-linear-gradient(120deg, transparent 0 58px, rgba(0, 0, 0, 0.05) 58px 61px),
    color-mix(in srgb, var(--accent) 26%, var(--paper));
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-pin {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: var(--shadow);
}

.map-card h3,
.map-card p {
  width: min(520px, 100%);
  margin: 0;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

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

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta {
  padding-block: clamp(66px, 9vw, 110px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38)),
    var(--cta-image, var(--hero-image)) center / cover no-repeat;
  color: #fff;
}

.cta-box {
  width: min(900px, 100%);
}

.cta h2 {
  margin: 0;
  font-size: 5.4rem;
  line-height: 0.98;
}

.cta p {
  max-width: 680px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.brief {
  background: var(--ink);
  color: #fff;
}

.brief .kicker,
.brief .muted {
  color: rgba(255, 255, 255, 0.7);
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brief-item {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.brief-item h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.brief-item p,
.brief-item li {
  color: rgba(255, 255, 255, 0.78);
}

.brief-item p,
.brief-item ul {
  margin: 0;
}

.brief-item ul {
  padding-left: 18px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: #111;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 28;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: min(310px, calc(100vw - 36px));
  padding: 13px 18px;
  border-radius: 999px;
  background: #0f8f54;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(15, 143, 84, 0.3);
}

.portfolio-hero {
  min-height: 70svh;
  display: grid;
  align-items: end;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(120deg, rgba(19, 45, 66, 0.95), rgba(19, 106, 99, 0.7)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
  color: #fff;
}

.portfolio-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: 6.2rem;
  line-height: 0.94;
}

.portfolio-hero p {
  max-width: 740px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

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

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.portfolio-card-content {
  padding: 20px;
}

.portfolio-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.portfolio-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, var(--paper));
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  .services-grid,
  .benefits-grid,
  .brief-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-grid figure:first-child {
    grid-row: span 1;
  }

  .location-layout,
  .faq,
  .package-layout {
    grid-template-columns: 1fr;
  }

  .package-copy {
    min-height: auto;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .main-nav a:not(.wa-mini) {
    display: none;
  }

  .hero {
    min-height: 74svh;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34)),
      var(--hero-image) center / cover no-repeat;
  }

  .hero h1,
  .portfolio-hero h1 {
    font-size: 3.4rem;
  }

  .hero-content {
    padding-inline: 18px;
  }

  .services-grid,
  .benefits-grid,
  .brief-grid,
  .portfolio-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .whatsapp-float {
    left: 16px;
    right: 16px;
  }

  .site-footer {
    padding-bottom: 86px;
  }
}

/* Taste Skill redesign layer */
:root {
  --font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --whatsapp: #0d8f57;
  --texture:
    repeating-linear-gradient(90deg, rgba(29, 29, 27, 0.028) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(29, 29, 27, 0.024) 0 1px, transparent 1px 54px);
  --section-y: 8.75rem;
  --section-y-lg: 11rem;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    var(--texture),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, #ffffff), var(--bg) 38%, color-mix(in srgb, var(--bg) 86%, var(--accent) 6%));
  font-family: var(--font-body);
  font-weight: 500;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

body,
.hero h1,
.hero .lead,
.section-head h2,
.kicker,
.brand-link,
.brand-link small,
.main-nav,
.eyebrow {
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-2) 76%, #ffffff);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0.875rem;
  left: 50%;
  width: min(76rem, calc(100% - 1.5rem));
  min-height: 4.25rem;
  margin: 0;
  padding: 0.6rem 0.7rem 0.6rem 1.1rem;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 19, 17, 0.72);
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #fff;
}

.brand-link {
  line-height: 1;
}

.brand-link span {
  color: #fff;
  font-size: 1.02rem;
}

.brand-link small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  text-transform: none;
}

.main-nav {
  gap: 0.15rem;
  font-size: 0.84rem;
}

.main-nav a {
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  transform: translateY(-1px);
}

.wa-mini,
.btn-primary,
.whatsapp-float {
  background: var(--whatsapp);
  color: #fff !important;
  box-shadow: 0 1rem 2.2rem rgba(13, 143, 87, 0.28);
}

.wa-mini:hover,
.btn-primary:hover,
.whatsapp-float:hover {
  background: #097647;
}

.hero {
  min-height: 46rem;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(5, 6, 5, 0.84) 0%, rgba(5, 6, 5, 0.55) 42%, rgba(5, 6, 5, 0.16) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero::after {
  height: 30%;
  background:
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 32%, transparent 100%);
}

.hero-content {
  width: min(82rem, 100%);
  margin: 0 auto;
  padding: 11rem clamp(1.25rem, 6%, 5rem) 8rem;
}

.eyebrow,
.kicker {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: none;
}

.eyebrow {
  max-width: 48rem;
  margin-bottom: 1.15rem;
  color: color-mix(in srgb, #fff 80%, var(--accent-2));
}

.hero h1,
.portfolio-hero h1,
.section-head h2,
.cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
}

.hero h1 {
  max-width: 70rem;
  font-size: 6.8rem;
  line-height: 0.88;
}

.hero .lead {
  max-width: 48rem;
  margin-top: 1.45rem;
  font-size: 1.28rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

.hero-actions {
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

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

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-points {
  display: none;
}

.section {
  padding: var(--section-y) clamp(1.125rem, 4%, 3.375rem) calc(var(--section-y) + 1rem);
  scroll-margin-top: 6.5rem;
}

.section-inner {
  width: min(82rem, 100%);
}

.section-head {
  max-width: 54rem;
  gap: 0.8rem;
  margin-bottom: 2.6rem;
}

.section-head h2 {
  font-size: 4.35rem;
  line-height: 0.96;
}

.section-head p {
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.kicker {
  color: var(--brand);
}

.grid {
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.service-card,
.benefit-card,
.faq details,
.portfolio-card {
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.service-card,
.benefit-card {
  position: relative;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.45rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--paper-strong) 92%, var(--accent) 8%), var(--paper));
  transition: transform 260ms ease, filter 260ms ease;
}

.service-card:hover,
.benefit-card:hover,
.portfolio-card:hover,
.gallery-grid figure:hover {
  transform: translateY(-4px);
}

.service-card::before,
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(255, 255, 255, 0.72) 48% 49%, transparent 49%),
    repeating-linear-gradient(90deg, transparent 0 2rem, rgba(0, 0, 0, 0.035) 2rem calc(2rem + 1px));
  pointer-events: none;
}

.service-card:nth-child(1) {
  grid-column: span 5;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand-dark) 92%, #000), color-mix(in srgb, var(--brand) 72%, #111));
  color: #fff;
}

.service-card:nth-child(2) {
  grid-column: span 4;
}

.service-card:nth-child(3) {
  grid-column: span 3;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, #111), color-mix(in srgb, var(--accent-2) 56%, var(--accent)));
  color: #fff;
}

.service-card:nth-child(1) p,
.service-card:nth-child(3) p,
.service-card:nth-child(1) .label,
.service-card:nth-child(3) .label {
  color: rgba(255, 255, 255, 0.82);
}

.service-card .label,
.benefit-card .label {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
  border-bottom: 0;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: none;
}

.service-card h3,
.benefit-card h3 {
  position: relative;
  z-index: 1;
  max-width: 18rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

.service-card p,
.benefit-card p {
  position: relative;
  z-index: 1;
  max-width: 29rem;
  color: var(--muted);
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 13.5rem;
  grid-auto-flow: dense;
  gap: 0.85rem;
}

.gallery-grid figure {
  border-radius: 8px;
  box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--brand-dark) 14%, transparent);
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-grid figure:first-child {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(4) {
  grid-column: span 4;
}

.gallery-grid figure:nth-child(3),
.gallery-grid figure:nth-child(5) {
  grid-column: span 3;
}

.gallery-grid img,
.portfolio-card img {
  transition: transform 700ms ease, filter 700ms ease;
  filter: saturate(0.94) contrast(1.07);
}

.gallery-grid figure:hover img,
.portfolio-card:hover img {
  transform: scale(1.045);
}

.gallery-grid figcaption {
  inset: auto 0.75rem 0.75rem 0.75rem;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  border-radius: 999px;
  background: rgba(10, 12, 10, 0.72);
  font-weight: 800;
}

.band {
  background:
    var(--texture),
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 84%, #fff), color-mix(in srgb, var(--accent) 16%, var(--paper)) 72%);
}

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

.benefit-card {
  min-height: 17rem;
  background: color-mix(in srgb, var(--paper-strong) 82%, var(--bg));
}

.benefit-card:nth-child(even) {
  margin-top: 3.5rem;
}

.location-layout {
  grid-template-columns: minmax(20rem, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
}

.location-panel,
.map-card {
  border-radius: 8px;
}

.location-panel {
  padding: 2rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand-dark) 94%, #000), color-mix(in srgb, var(--brand) 72%, #111));
  box-shadow: 0 2rem 5rem color-mix(in srgb, var(--brand-dark) 24%, transparent);
}

.location-panel h3 {
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1;
  text-wrap: balance;
}

.location-list {
  gap: 1.15rem;
}

.location-list strong {
  color: color-mix(in srgb, #fff 74%, var(--accent-2));
  text-transform: none;
  letter-spacing: 0;
}

.map-card {
  min-height: 29rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28)),
    repeating-linear-gradient(35deg, transparent 0 2.4rem, rgba(0, 0, 0, 0.06) 2.4rem calc(2.4rem + 2px)),
    repeating-linear-gradient(120deg, transparent 0 3.6rem, rgba(0, 0, 0, 0.055) 3.6rem calc(3.6rem + 2px)),
    color-mix(in srgb, var(--accent) 22%, var(--paper));
}

.map-pin {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 8px;
  font-family: var(--font-display);
}

.map-card h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  text-wrap: balance;
}

.faq {
  grid-template-columns: 0.72fr 1.28fr;
  gap: 3rem;
}

.faq-list {
  gap: 0.7rem;
}

.faq details {
  padding: 1.25rem 1.35rem;
  background: color-mix(in srgb, var(--paper-strong) 82%, var(--bg));
}

.faq summary {
  list-style: none;
  font-size: 1.08rem;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 900;
}

.faq details[open] summary::after {
  content: "-";
}

.cta {
  padding-block: var(--section-y-lg);
  background:
    linear-gradient(95deg, rgba(6, 8, 7, 0.84), rgba(6, 8, 7, 0.48)),
    var(--cta-image, var(--hero-image)) center / cover no-repeat;
}

.cta-box {
  width: min(64rem, 100%);
}

.cta h2 {
  font-size: 5.4rem;
  line-height: 0.92;
}

.cta p {
  max-width: 42rem;
  font-size: 1.16rem;
  line-height: 1.65;
}

.package-section {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 34rem),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 30rem),
    #10120f;
  color: #fff;
}

.package-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(21rem, 1.14fr);
  gap: 1rem;
  align-items: stretch;
}

.package-copy {
  display: grid;
  align-content: end;
  gap: 1rem;
  min-height: 30rem;
  padding: 2rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, transparent 0 2.75rem, rgba(255, 255, 255, 0.04) 2.75rem calc(2.75rem + 1px));
}

.package-copy h2,
.package-card h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

.package-copy h2 {
  max-width: 43rem;
  margin: 0;
  font-size: 4.5rem;
  line-height: 0.94;
}

.package-copy p {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.7;
}

.package-card {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 1.7rem;
  border: 1px solid rgba(20, 201, 174, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 21, 30, 0.95), rgba(11, 16, 18, 0.96)),
    var(--texture);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.34);
}

.package-card.is-featured {
  border-color: rgba(20, 201, 174, 0.72);
  background:
    linear-gradient(145deg, rgba(14, 56, 48, 0.96), rgba(7, 19, 18, 0.98)),
    var(--texture);
  box-shadow: 0 1.8rem 5rem rgba(10, 196, 166, 0.18);
}

.package-badge {
  justify-self: start;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: #13c9ad;
  color: #05140f;
  font-size: 0.78rem;
  font-weight: 900;
}

.package-card h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1;
}

.package-price {
  display: grid;
  gap: 0.25rem;
}

.package-price del {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 800;
}

.package-price strong {
  color: #12cdb8;
  font-size: 3.4rem;
  line-height: 0.9;
  font-weight: 950;
}

.package-price span {
  color: #12cdb8;
  font-size: 1rem;
  font-weight: 900;
}

.package-price small {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.package-list li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.48rem;
  height: 0.48rem;
  border: 2px solid #12cdb8;
  border-radius: 50%;
}

.package-note {
  margin: 0;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.package-note strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.2rem;
}

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

.proof-card {
  min-height: 13rem;
  padding: 1.35rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper-strong) 84%, var(--bg));
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.proof-card strong {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  display: grid;
  gap: 1.35rem;
  padding: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #151722;
  color: #fff;
}

.pricing-card.is-featured {
  border-color: rgba(20, 201, 174, 0.68);
  background: #0d2a24;
  box-shadow: 0 1.8rem 4rem rgba(20, 201, 174, 0.16);
}

.pricing-card h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.pricing-card .package-price strong {
  font-size: 2.75rem;
}

.pricing-card .package-list {
  grid-template-columns: 1fr;
}

.pricing-card .btn {
  align-self: end;
}

.mini-one-view {
  min-height: calc(100svh - 2rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(95deg, rgba(6, 8, 7, 0.86), rgba(6, 8, 7, 0.34)),
    var(--hero-image) center / cover no-repeat;
  color: #fff;
}

.mini-board {
  width: min(82rem, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.64fr);
  gap: 1rem;
  margin: 0 auto;
  padding: 9rem clamp(1rem, 4vw, 3rem) 3rem;
}

.mini-copy h1 {
  max-width: 42rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 0.92;
  text-wrap: balance;
}

.mini-copy p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.mini-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 8px;
  background: rgba(14, 17, 24, 0.82);
  backdrop-filter: blur(16px);
}

.mini-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.compact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: 1rem;
}

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

.inline-gallery img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 8px;
}

.tier-mini .hero {
  min-height: 34rem;
}

.tier-mini .hero-content {
  padding-bottom: 4.5rem;
}

.tier-mini .section {
  padding-block: 4rem;
}

.tier-mini main > .hero,
.tier-mini #servicios,
.tier-mini #galeria,
.tier-mini #beneficios,
.tier-mini #ubicacion,
.tier-mini #faq,
.tier-mini #paquete,
.tier-mini .cta {
  display: none;
}

.tier-mini .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tier-mini .service-card,
.tier-mini .service-card:nth-child(1),
.tier-mini .service-card:nth-child(2),
.tier-mini .service-card:nth-child(3) {
  grid-column: auto;
  min-height: 13rem;
}

.tier-mini .location-layout {
  grid-template-columns: 0.88fr 1.12fr;
}

.tier-mini .location-panel,
.tier-mini .map-card {
  min-height: 20rem;
}

.tier-mini .package-copy {
  min-height: 22rem;
}

.tier-mini .package-list {
  grid-template-columns: 1fr;
}

.tier-presencia #galeria,
.tier-presencia #beneficios,
.tier-presencia #faq,
.tier-presencia #paquete,
.tier-presencia .cta {
  display: none;
}

.tier-presencia .section {
  padding-block: 5.4rem;
}

.tier-presencia .gallery-grid {
  grid-auto-rows: 12rem;
}

.tier-negocio .package-card.is-featured {
  transform: translateY(-0.5rem);
}

.tier-negocio #beneficios,
.tier-negocio #faq,
.tier-negocio .cta {
  display: none;
}

.tier-profesional #beneficios,
.tier-profesional .cta {
  display: none;
}

.tier-premium .cta {
  display: none;
}

.tier-profesional .proof-strip,
.tier-ia .proof-strip {
  grid-template-columns: 1.05fr 0.95fr 1.05fr;
}

.tier-premium .hero,
.tier-premium .cta {
  background-position: center 42%;
}

.tier-premium .gallery-grid figure {
  filter: saturate(1.05);
}

.tier-ia .package-card {
  border-color: rgba(20, 201, 174, 0.82);
  box-shadow: 0 2rem 6rem rgba(10, 196, 166, 0.18);
}

.site-footer {
  background: #161714;
  color: rgba(255, 255, 255, 0.72);
}

.whatsapp-float {
  min-height: 3.35rem;
  padding: 0.9rem 1.2rem;
  transition: transform 220ms ease, background 220ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.portfolio-hero {
  min-height: 42rem;
  align-items: center;
  padding: 11rem clamp(1.25rem, 6%, 5rem) 7rem;
  background:
    linear-gradient(100deg, rgba(7, 12, 15, 0.88), rgba(7, 12, 15, 0.42)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.portfolio-hero > div {
  width: min(82rem, 100%);
  margin: 0 auto;
}

.portfolio-hero h1 {
  max-width: 74rem;
  font-size: 6.2rem;
  line-height: 0.9;
}

.portfolio-hero p {
  max-width: 48rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.portfolio-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.portfolio-card {
  grid-column: span 4;
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper-strong) 84%, var(--bg));
  transition: transform 260ms ease;
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(6) {
  grid-column: span 5;
}

.portfolio-card:nth-child(2),
.portfolio-card:nth-child(5) {
  grid-column: span 3;
}

.portfolio-card img {
  height: 16rem;
}

.portfolio-card-content {
  padding: 1.25rem;
}

.portfolio-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.pill {
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand) 11%, var(--paper));
  letter-spacing: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.4rem);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

@media (max-width: 980px) {
  :root {
    --section-y: 6.5rem;
    --section-y-lg: 7.5rem;
  }

  .site-header {
    width: min(44rem, calc(100% - 1rem));
    border-radius: 8px;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .hero,
  .portfolio-hero {
    min-height: 42rem;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .portfolio-hero h1,
  .cta h2 {
    font-size: 4.4rem;
  }

  .section-head h2 {
    font-size: 3.35rem;
  }

  .services-grid,
  .benefits-grid,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .benefit-card,
  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(5),
  .portfolio-card:nth-child(6) {
    grid-column: span 3;
  }

  .benefit-card:nth-child(even) {
    margin-top: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-grid figure:first-child,
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5) {
    grid-column: span 3;
    grid-row: span 1;
  }

  .location-layout,
  .faq,
  .package-layout,
  .mini-board,
  .compact-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --section-y: 4.8rem;
    --section-y-lg: 5.8rem;
  }

  .site-header {
    position: fixed;
    top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.65rem;
  }

  .main-nav a:not(.wa-mini) {
    display: none;
  }

  .wa-mini {
    min-height: 2.6rem;
    padding: 0.7rem 0.9rem;
  }

  .hero,
  .portfolio-hero {
    min-height: 40rem;
  }

  .hero-content,
  .portfolio-hero {
    padding-top: 8.5rem;
  }

  .hero h1,
  .portfolio-hero h1 {
    font-size: 3.4rem;
  }

  .hero .lead,
  .portfolio-hero p {
    font-size: 1.02rem;
  }

  .section-head h2,
  .cta h2,
  .package-copy h2 {
    font-size: 2.7rem;
  }

  .services-grid,
  .benefits-grid,
  .portfolio-grid,
  .gallery-grid,
  .pricing-grid,
  .inline-gallery {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .benefit-card,
  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(5),
  .portfolio-card:nth-child(6),
  .gallery-grid figure:first-child,
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5) {
    grid-column: 1;
  }

  .service-card,
  .benefit-card {
    min-height: 15.5rem;
  }

  .gallery-grid {
    grid-auto-rows: 16rem;
  }

  .map-card,
  .location-panel {
    min-height: 22rem;
  }

  .package-list {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .tier-mini .location-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tier-mini .services-grid,
  .tier-mini .package-list {
    grid-template-columns: 1fr;
  }

  .tier-mini .service-card,
  .tier-mini .service-card:nth-child(1),
  .tier-mini .service-card:nth-child(2),
  .tier-mini .service-card:nth-child(3) {
    grid-column: 1;
  }
}
