/* ==========================================================================
   LUNA NAILS STUDIO — styles.css
   Demo comercial ficticia · Estigarribia Web · Mobile-first
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --cream: #FCF9F6;
  --cream-2: #F6EEE6;
  --cream-3: #FFFDFB;
  --ink: #2A211C;
  --ink-2: #4A3D35;
  --muted: #807166;
  --muted-2: #9A8B80;
  --rose: #C18F87;
  --rose-2: #A8766E;
  --gold: #B3946A;
  --gold-2: #947A4F;
  --line: #E9DED2;
  --line-2: #F1E9E0;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", ui-sans-serif, system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 76px;
  --shadow-soft: 0 18px 50px -22px rgba(42, 33, 28, 0.28);
  --shadow-card: 0 12px 40px -22px rgba(42, 33, 28, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.6s;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--rose);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

body.nav-locked,
body.modal-locked {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.ic {
  vertical-align: -2px;
}

.lnk {
  color: var(--ink-2);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.lnk:hover {
  color: var(--gold-2);
}

.demo-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   3. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream-3);
}
.btn-primary:hover {
  background: #17120E;
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream-3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover {
  background: rgba(42, 33, 28, 0.06);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-2);
  box-shadow: var(--shadow-card);
}

.btn-light {
  background: var(--cream-3);
  color: var(--ink);
}
.btn-light:hover {
  background: #fff;
  box-shadow: var(--shadow-card);
}

.btn-lg {
  padding: 17px 32px;
  font-size: 1.02rem;
}
.btn-xl {
  padding: 19px 40px;
  font-size: 1.08rem;
}
.btn-sm {
  padding: 11px 20px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 249, 246, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(252, 249, 246, 0.92);
  border-bottom-color: var(--line-2);
  box-shadow: 0 8px 30px -20px rgba(42, 33, 28, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--gold-2);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  letter-spacing: 0.32em;
  font-weight: 600;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-link:hover {
  color: var(--ink);
  background: rgba(42, 33, 28, 0.05);
}
.nav-cta-item {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 120;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 54px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(820px 400px at 88% -8%, rgba(193, 143, 135, 0.14), transparent 62%),
    radial-gradient(640px 420px at 2% 108%, rgba(179, 148, 106, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rose-2);
  margin: 0 0 18px;
}
.eyebrow-line {
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow-light {
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.7rem, 8.6vw, 4.5rem);
  letter-spacing: 0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--rose);
}

.hero-text {
  max-width: 34rem;
  margin: 20px 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.hero-badges li span {
  color: var(--gold);
  font-size: 0.8rem;
}

.hero-media {
  position: relative;
}
.hero-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 17px;
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  bottom: 26px;
  left: -8px;
  max-width: calc(100% - 16px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.hero-tag-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-2);
  flex: none;
}
.hero-tag strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}
.hero-tag small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   6. Barra de confianza
   -------------------------------------------------------------------------- */
.trust {
  padding: 30px 0 40px;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 34px 26px;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.trust-item {
  text-align: center;
}
.trust-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5.4vw, 2.7rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.trust-label {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   7. Secciones generales
   -------------------------------------------------------------------------- */
.section {
  padding: 84px 0;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  justify-content: center;
}
.section-title {
  font-size: clamp(2.1rem, 5.6vw, 3.1rem);
  letter-spacing: 0.01em;
}
.section-sub {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--muted);
}
.section-title-light,
.section-sub-light {
  color: var(--cream-3);
}
.section-sub-light {
  color: rgba(255, 253, 251, 0.78);
}

/* --------------------------------------------------------------------------
   8. Servicios
   -------------------------------------------------------------------------- */
.services {
  background: var(--cream-2);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 26px 24px;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px -18px rgba(42, 33, 28, 0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.service-top {
  flex: 1;
}
.service-name {
  font-size: 1.5rem;
  font-weight: 600;
}
.service-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}
.service-price {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.service-price strong {
  color: var(--rose-2);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Servicio destacado
   -------------------------------------------------------------------------- */
.featured {
  background: var(--ink);
  color: var(--cream-3);
  overflow: hidden;
  position: relative;
}
.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 0% 110%, rgba(179, 148, 106, 0.22), transparent 60%);
  pointer-events: none;
}
.featured-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}
.featured-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55);
  aspect-ratio: 10 / 8;
  object-fit: cover;
}
.featured-price {
  margin: 20px 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  font-weight: 600;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   10. Galería
   -------------------------------------------------------------------------- */
.gallery {
  background: var(--cream);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream-3);
  color: var(--ink-2);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose-2);
}
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream-3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-item {
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.gallery-item.is-hidden {
  display: none;
}
.gallery-item.is-leave,
.gallery-item.is-enter {
  opacity: 0;
  transform: scale(0.96);
}
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.06);
}
.gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(42, 33, 28, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-card:hover .gallery-label,
.gallery-card:focus-visible .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. Nosotros
   -------------------------------------------------------------------------- */
.about {
  background: var(--cream-2);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}
.about-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-text {
  margin-top: 20px;
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 32rem;
}
.about-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.about-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}
.about-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-2);
}
.about-list h3 {
  font-size: 1.18rem;
  font-weight: 600;
}
.about-list p {
  margin-top: 4px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Proceso
   -------------------------------------------------------------------------- */
.process {
  background: var(--ink);
  color: var(--cream-3);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 420px at 100% 0%, rgba(193, 143, 135, 0.18), transparent 60%);
  pointer-events: none;
}
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 34px 22px 30px;
  background: rgba(255, 253, 251, 0.05);
  border: 1px solid rgba(255, 253, 251, 0.13);
  border-radius: var(--radius);
}
.process-num {
  position: absolute;
  top: -18px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(179, 148, 106, 0.4);
  font-weight: 600;
}
.process-ic {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(179, 148, 106, 0.16);
  color: var(--gold);
}
.process-step h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream-3);
}
.process-step p {
  margin-top: 8px;
  font-size: 0.96rem;
  color: rgba(255, 253, 251, 0.66);
}
.process-cta {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   13. Testimonios
   -------------------------------------------------------------------------- */
.testimonials {
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.testimonial-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px -18px rgba(42, 33, 28, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
}
.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-2);
}
.testimonial-card figcaption {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. Instagram
   -------------------------------------------------------------------------- */
.instagram {
  background: var(--cream-2);
}
.inst-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.inst-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-3);
}
.inst-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.inst-link:hover img {
  transform: scale(1.07);
}
.inst-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(42, 33, 28, 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.inst-link:hover .inst-overlay,
.inst-link:focus-visible .inst-overlay {
  opacity: 1;
}
.inst-cta {
  margin-top: 40px;
  text-align: center;
}
.inst-handle {
  margin-top: 16px;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. CTA de reserva
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--cream) url("../assets/img/cta.jpg") center / cover no-repeat;
  padding: 100px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 33, 28, 0.86);
}
.cta-inner {
  position: relative;
  text-align: center;
  color: var(--cream-3);
}
.cta-content {
  max-width: 620px;
  margin: 0 auto;
}
.cta-content .eyebrow {
  justify-content: center;
}
.cta-content .btn {
  margin-top: 30px;
}
.cta-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255, 253, 251, 0.85);
  text-decoration-color: rgba(179, 148, 106, 0.8);
  text-underline-offset: 4px;
  font-size: 0.98rem;
}
.cta-instagram:hover {
  color: #fff;
}
.cta-phone {
  margin-top: 22px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 251, 0.6);
}

/* --------------------------------------------------------------------------
   16. Ubicación
   -------------------------------------------------------------------------- */
.location {
  background: var(--cream);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
.location-list {
  display: grid;
  gap: 12px;
}
.location-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
.location-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-2);
}
.location-list h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.location-list p {
  margin-top: 4px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}
.location-list p strong {
  color: var(--ink-2);
  font-weight: 500;
}
.location-map {
  position: relative;
}
.location-map iframe {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--cream-2);
  display: block;
}
.map-go {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--cream-3);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 251, 0.7);
  padding: 64px 0 32px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 300px at 100% 0%, rgba(179, 148, 106, 0.12), transparent 60%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
}
.footer-brand .brand-name,
.footer-brand .brand-sub {
  color: var(--cream-3);
}
.footer-brand .brand-sub {
  color: var(--gold);
}
.footer-brand .brand-mark {
  background: rgba(255, 253, 251, 0.06);
  border-color: rgba(255, 253, 251, 0.16);
  color: var(--gold);
}
.footer-tagline {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  color: rgba(255, 253, 251, 0.8);
  max-width: 26rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 30px 0 44px;
}
.footer-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: rgba(255, 253, 251, 0.72);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover {
  color: var(--cream-3);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 253, 251, 0.12);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  color: rgba(255, 253, 251, 0.5);
}
.footer-credit strong {
  color: rgba(255, 253, 251, 0.75);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   18. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream-3);
  box-shadow: 0 16px 40px -14px rgba(42, 33, 28, 0.55);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--gold-2);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(179, 148, 106, 0.5);
  animation: wa-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(0.92); opacity: 1; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* --------------------------------------------------------------------------
   19. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(26, 19, 15, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-body {
  position: relative;
  max-width: min(900px, 92vw);
  max-height: 86vh;
}
.lightbox-body figure {
  margin: 0;
}
.lightbox-body img {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.7);
}
.lightbox-body figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 253, 251, 0.8);
  font-family: var(--font-serif);
  font-style: italic;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 251, 0.25);
  background: rgba(255, 253, 251, 0.08);
  color: var(--cream-3);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 253, 251, 0.18);
}
.lightbox-close {
  top: 18px;
  right: 18px;
}
.lightbox-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

/* --------------------------------------------------------------------------
   20. Animaciones al hacer scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Responsive — tablet
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .inst-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   22. Responsive — desktop
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .container {
    padding: 0 32px;
  }
  .hero {
    padding: 76px 0 96px;
  }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 66px;
  }
  .hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }
  .section {
    padding: 110px 0;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .featured-inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .about-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .trust-inner {
    padding: 42px 60px;
  }
  .cta {
    padding: 140px 0;
  }
  .location-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   23. Nav en móvil (menú hamburguesa)
   -------------------------------------------------------------------------- */
@media (max-width: 899.98px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--cream-3);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(42, 33, 28, 0.35);
    padding: 16px 22px 26px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    font-size: 1.02rem;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: left;
  }
  .nav-cta-item {
    margin: 16px 0 0;
  }
  .site-nav .nav-cta,
  .site-nav .btn {
    width: 100%;
  }
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

/* --------------------------------------------------------------------------
   24. Accesibilidad / motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}