/* ======================================================
   Jorge Te Cocina — main.css
   Optimized hand-coded stylesheet replacing ~30 WordPress
   plugin CSS files.
   ====================================================== */

/* ── 1. Variables & Reset ─────────────────────────────── */
:root {
  --c-primary:   #6b1311;   /* brand garnet */
  --c-gold:      #9C7C57;   /* bronze accent */
  --c-gold-lt:   #BC9A6B;   /* lighter bronze */
  --c-dark:      #1a0e0e;   /* near-black with warm tint */
  --c-cream:     #1d1616;   /* dark warm alt background */
  --c-text:      #c4c0ba;   /* warm light grey */
  --c-text-lt:   #8a8480;   /* dimmer warm grey */
  --font-main:   'Roboto', sans-serif;
  --font-sub:    'Josefin Sans', sans-serif;
  --max-w:       1200px;
  --hdr-h:       90px;
  --ease:        0.3s ease;
}

/* ── Custom Fonts ─────────────────────────────────────── */
@font-face {
  font-family: 'caviar_dreamsbold';
  src: url('/assets/CaviarDreams_Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'caviar_dreamsbold';
  src: url('/assets/CaviarDreams_BoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--c-text); background: #181a1b; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* ── 2. Typography ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'caviar_dreamsbold', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: #e8e5e0;
}

/* ── 3. Layout Utilities ──────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
section { padding: 80px 0; }

/* ── Scroll-reveal animations ─────────────────────────── */

/* Fade up (default) */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* Slide down from top (for images) */
.fade-in-top {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-top.visible { opacity: 1; transform: none; }

/* Stagger delays for grid children */
.service-card.fade-in:nth-child(2),
.icon-feature.fade-in:nth-child(2),
.flip-item:nth-child(2) .flip-inner { transition-delay: 0.1s; }

.service-card.fade-in:nth-child(3),
.icon-feature.fade-in:nth-child(3),
.flip-item:nth-child(3) .flip-inner { transition-delay: 0.2s; }

.service-card.fade-in:nth-child(4),
.icon-feature.fade-in:nth-child(4) { transition-delay: 0.3s; }

.service-card.fade-in:nth-child(5) { transition-delay: 0.4s; }
.service-card.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* SVG decor chevrons: reveal by scaling in after parent fades */
.sec-decor svg {
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.5s ease 0.35s;
}
.visible .sec-decor svg,
.sec-title.visible .sec-decor svg { transform: scaleX(1); }

/* ── 4. Shared Section Title Component ────────────────── */
.sec-title { text-align: center; margin-bottom: 56px; }

.sec-tagline {
  display: block;
  font-family: 'Miniver', serif;
  font-size: 18px;
  color: var(--c-gold);
  margin-bottom: 10px;
}

.sec-decor {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

/* Heading + flanking decors in a horizontal row */
.sec-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 4px 0 8px;
}
.sec-heading-row .sec-decor { margin: 0; }

.sec-heading {
  font-size: clamp(26px, 4vw, 50px);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #e8e5e0;
}

.sec-text {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.85;
}

/* ── 5. Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 15px 40px;
  border: 1px solid currentColor;
  background: transparent;
  transition: background var(--ease), color var(--ease);
}
.btn-white  { color: #fff; }
.btn-white:hover  { background: #fff; color: var(--c-dark); }
.btn-dark   { color: rgba(232,229,224,0.85); border-color: rgba(255,255,255,0.35); }
.btn-dark:hover   { background: rgba(255,255,255,0.08); color: #fff; border-color: #fff; }
.btn-gold   { color: var(--c-gold); }
.btn-gold:hover   { background: var(--c-gold); color: #fff; }

/* ── 6. Header & Navigation ───────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--hdr-h);
  z-index: 900;
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.scrolled {
  background: rgba(26,14,14,0.96);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.hdr-logo { width: 80px; flex-shrink: 0; }
.hdr-logo img { width: 100%; }

/* Desktop nav — only direct child ul is flex */
.desktop-nav > ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.desktop-nav a {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  padding-block: 4px;
  position: relative;
  transition: color var(--ease);
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  inset-block-end: -2px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold-lt);
  transition: width var(--ease);
}
.desktop-nav a:hover { color: var(--c-gold-lt); }
.desktop-nav a:hover::after { width: 100%; }

/* Dropdown */
.has-drop { position: relative; }
.dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: rgba(26,14,14,0.97);
  padding: 0 0 8px;
  padding-top: 12px; /* acts as hover bridge — keeps mouse inside element */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease);
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.dropdown li a:hover { color: var(--c-gold-lt); background: rgba(255,255,255,.04); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 4px;
  line-height: 0;
}

/* Mobile nav overlay */
.mobile-nav {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(26,14,14,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.mobile-nav > ul { text-align: center; }
.mobile-nav > ul > li { margin-bottom: 20px; }
.mobile-nav a {
  font-family: var(--font-sub);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  transition: color var(--ease);
}
.mobile-nav a:hover { color: var(--c-gold-lt); }
.mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.mobile-sub a {
  font-size: 12px;
  color: var(--c-gold-lt);
}

/* ── 7. Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--c-dark);
  margin-top: calc(-1 * var(--hdr-h));
  padding-top: var(--hdr-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0.55;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 960px;
}

.hero-tagline {
  display: block;
  font-family: 'Miniver', serif;
  font-size: 28px;
  color: rgba(210,210,216,0.85);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(52px, 8vw, 106px);
  font-weight: 400;
  letter-spacing: 14px;
  color: var(--c-text);
  line-height: 1.05;
  margin-bottom: 28px;
  text-shadow: 0 0 60px rgba(255,255,255,0.12);
}

.hero-subtitle {
  font-family: var(--font-sub);
  font-size: 19px;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 52px;
  line-height: 1.65;
}

/* ── 8. Nosotros ──────────────────────────────────────── */
.nosotros { background: #181a1b; }

/* ── 9. Three-column images ───────────────────────────── */
.three-images {
  padding: 0 0 80px;
  background: #181a1b;
}
.three-images-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.img-col img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.pattern-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  width: 220px;
}
.pattern-col svg { width: 100%; height: auto; }

/* Diamond pattern draw-in animation (stroke-dashoffset) */
.pattern-animate path {
  stroke-dasharray: 10000;
  stroke-dashoffset: 10000;
  transition: stroke-dashoffset 2.5s ease;
}
.pattern-animate.visible path { stroke-dashoffset: 0; }

/* ── 11. Services intro ───────────────────────────────── */
.services-intro { background: #181a1b; }

/* ── 12. Flip Boxes ───────────────────────────────────── */
.flip-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
}
.flip-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flip-item { perspective: 1000px; }

.flip-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
  text-align: center;
  margin-bottom: 10px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 380px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4,0.2,0.2,1);
}
.flip-grid-3 .flip-item:hover .flip-inner,
.flip-grid-3 .flip-item:focus-within .flip-inner {
  transform: rotateY(180deg);
}
.flip-grid-2 .flip-item.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flip-front {
  background: var(--c-dark) center/cover no-repeat;
}
.flip-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(107,19,17,0.25) 0%, rgba(26,14,14,0.65) 100%);
}
.flip-front-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  padding: 0 20px;
  text-align: center;
}

.flip-back {
  transform: rotateY(180deg);
  background: var(--c-primary);
  flex-direction: column;
  text-align: center;
  padding: 44px 32px;
  gap: 0;
}
.flip-back p {
  color: rgba(255,255,255,0.88);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.flip-btn {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  transition: background var(--ease), border-color var(--ease);
}
.flip-btn:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ── 13. Gallery carousel ─────────────────────────────── */
.gallery-strip {
  position: relative;
  line-height: 0;
  display: flex;
  align-items: center;
}

.gallery-viewport {
  overflow: hidden;
  flex: 1;
}

.gallery-track {
  display: flex;
  will-change: transform;
}

.gallery-track img {
  width: 700px;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(26,14,14,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 40px;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease);
}
.gallery-arrow:hover { background: rgba(107,19,17,0.85); }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

/* ── 14. Collage grid (Profesionalidad) ──────────────── */
.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
}
.collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Split section (Profesionalidad) ─────────────────── */
.split-section { padding: 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  background: #1d1616;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 72px;
  text-align: center;
}

/* ── 15. Nuestro Espacio ──────────────────────────────── */
.nuestro-espacio { background: var(--c-cream); }

/* ── 16. Events & Pricing ─────────────────────────────── */
.events-section {
  position: relative;
  background: var(--c-dark) center/cover no-repeat;
}
.events-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,14,14,0.82);
}
.events-section .container { position: relative; z-index: 1; }
.events-section .sec-heading { color: #fff; letter-spacing: 10px; }
.events-section .sec-tagline { color: var(--c-gold-lt); }

.pricing-item {
  max-width: 700px;
  margin-inline: auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 36px 0;
  margin-bottom: 36px;
}
.pricing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pricing-title {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  flex: 1;
}
.pricing-dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,0.25); }
.pricing-price {
  font-size: 22px;
  color: var(--c-gold-lt);
  white-space: nowrap;
  font-weight: 300;
}
.pricing-desc {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

/* ── 17. Testimonials ─────────────────────────────────── */
.testimonials-section { padding: 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.testimonials-content {
  background: var(--c-dark);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark {
  display: block;
  width: 57px;
  height: 46px;
  background: url('/assets/images/quote-mark.png') no-repeat center/contain;
  margin-bottom: 36px;
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial-text {
  font-family: 'Miniver', serif;
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}
.testimonial-author {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
}
.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 36px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  transition: background var(--ease);
}
.testimonial-dot.active { background: var(--c-gold); }
.testimonials-photo { overflow: hidden; }
.testimonials-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── 18. Contact Form ─────────────────────────────────── */
.contact-section { background: var(--c-cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-text-lt);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  padding: 10px 0;
  font-family: var(--font-main);
  font-size: 15px;
  color: rgba(232,229,224,0.88);
  outline: none;
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--c-gold); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--c-text-lt);
  line-height: 1.5;
}
.form-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.form-check a { color: var(--c-gold); }
.form-response {
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 14px;
  margin-top: 16px;
  display: none;
}
.form-response.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-response.error   { background: #ffebee; color: #c62828; display: block; }

/* ── 19. Footer ───────────────────────────────────────── */
.site-footer { background: var(--c-dark); }

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr;
  gap: 60px;
  padding: 80px 0 64px;
}
.footer-logo { width: 80px; margin-bottom: 24px; }
.footer-sep {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 20px 0;
}
.footer-info { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.85; }
.footer-info a { color: rgba(255,255,255,0.6); transition: color var(--ease); }
.footer-info a:hover { color: var(--c-gold-lt); }

.footer-nav-title {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.58); transition: color var(--ease); }
.footer-nav a:hover { color: var(--c-gold-lt); }

.footer-col3-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  margin-bottom: 24px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.58);
  transition: color var(--ease), border-color var(--ease);
}
.social-link:hover { color: var(--c-gold-lt); border-color: var(--c-gold-lt); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0;
  text-align: center;
}
.footer-bottom img { max-width: 560px; margin-inline: auto; opacity: 0.75; }

/* ── 20. Back to Top ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
  line-height: 0;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top svg { color: var(--c-gold-lt); }

/* ── 21. Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .flip-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split-content { padding: 80px 40px; }
}

@media (max-width: 768px) {
  :root { --hdr-h: 68px; }
  section { padding: 60px 0; }

  .desktop-nav { display: none; }
  .hamburger { display: block; }

  .three-images-grid { grid-template-columns: 1fr; }
  .pattern-col { display: none; }
  .img-col img { height: 320px; }

  .flip-grid-2,
  .flip-grid-3 { grid-template-columns: 1fr; }
  .flip-inner { height: 320px; }

  .gallery-track img { width: 100vw; height: 280px; }

  .split-grid { grid-template-columns: 1fr; }
  .split-img { height: 320px; }
  .split-content { padding: 60px 24px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-content { padding: 60px 24px; }
  .testimonials-photo { height: 300px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }

  .back-to-top { bottom: 20px; right: 20px; }

  .hero-title { letter-spacing: 6px; }
  .sec-heading { letter-spacing: 4px; }
}

/* ── 22. Inner Page Hero ──────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--c-dark) center/cover no-repeat;
  margin-top: calc(-1 * var(--hdr-h));
  padding-top: var(--hdr-h);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,14,14,0.62);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 68px);
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
}
.page-breadcrumb {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--ease); }
.page-breadcrumb a:hover { color: var(--c-gold-lt); }
.page-breadcrumb span { color: var(--c-gold-lt); }

/* ── 23. Inner page service cards ─────────────────────── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--c-dark);
}
.service-card {
  background: var(--c-dark);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background var(--ease);
}
.service-card:hover { background: rgba(107,19,17,0.25); }
.service-card-num {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--c-gold);
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.service-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75; }

/* ── 24. Feature list ─────────────────────────────────── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--c-text);
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ── 25. Content two-col (text + image) ───────────────── */
.content-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.content-cols.reverse { direction: rtl; }
.content-cols.reverse > * { direction: ltr; }
.content-cols img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.content-cols .text-col p {
  color: var(--c-text-lt);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── 26. Contact page ─────────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-gold);
}
.contact-info-icon svg { width: 18px; height: 18px; fill: currentColor; }
.contact-info-label {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text-lt);
  margin-bottom: 4px;
}
.contact-info-value { font-size: 15px; color: #e8e5e0; line-height: 1.6; }
.contact-info-value a { color: #e8e5e0; transition: color var(--ease); }
.contact-info-value a:hover { color: var(--c-gold); }
.map-embed { width: 100%; height: 360px; border: none; filter: grayscale(20%); display: block; }

/* ── 27. About / Nosotros ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-text p {
  color: var(--c-text);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ── Responsive additions ─────────────────────────────── */
@media (max-width: 1024px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .content-cols  { grid-template-columns: 1fr; gap: 40px; }
  .content-cols img { height: 360px; }
  .content-cols.reverse { direction: ltr; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .service-cards { grid-template-columns: 1fr; }
  .feature-list  { grid-template-columns: 1fr; }
  .page-hero h1  { letter-spacing: 5px; }
}

@media (max-width: 480px) {
  .icon-features-grid { grid-template-columns: 1fr; }
  .hero-subtitle { font-size: 16px; }
  .hero-tagline  { font-size: 18px; }
  .flip-inner    { height: 280px; }
}
