/* ==========================================================================
   SIMURGH REAL PROPERTIES — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-navy: #1c2b45;
  --color-navy-dark: #131d30;
  --color-gold: #b3812f;
  --color-gold-light: #c9973f;
  --color-gold-dark: #8f6624;
  --color-gold-gradient: linear-gradient(135deg, #c9973f 0%, #a9772f 100%);
  --color-cream: #faf6ef;
  --color-cream-dark: #f2ead9;
  --color-ivory: #fffdfa;
  --color-text: #2b3345;
  --color-text-light: #6b7280;
  --color-border: #e8e0d0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1240px;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; color: var(--color-navy); line-height: 1.2; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--color-gold);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--color-gold-gradient);
  color: #fff;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-dark);
}
.btn-outline:hover { background: var(--color-gold); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--color-navy);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,253,250,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 46px; width: auto; }
.logo-text { font-family: var(--font-serif); line-height: 1.05; }
.logo-text .name { font-size: 22px; font-weight: 700; color: var(--color-navy); letter-spacing: 1px; }
.logo-text .tag { font-family: var(--font-sans); font-size: 10px; letter-spacing: 2px; color: var(--color-gold-dark); text-transform: uppercase; display:block; margin-top:2px; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; list-style: none; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-gold-dark); border-color: var(--color-gold); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; }
.footer-brand .name { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--color-gold-dark); }
.footer-brand .tag { font-size: 9px; letter-spacing: 1.5px; color: var(--color-text-light); text-transform: uppercase; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-light); }
.footer-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-light); }
.footer-dark { background: var(--color-navy); color: #fff; }
.footer-dark .footer-links, .footer-dark .footer-meta { color: #cfd6e3; }
.footer-dark .footer-brand .name { color: #fff; }

/* ---------- Hero slider (Home) ---------- */
.hero-slider { position: relative; height: 640px; overflow: hidden; background: var(--color-navy); }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,43,69,0.88) 0%, rgba(28,43,69,0.55) 42%, rgba(28,43,69,0.05) 75%);
}
.hero-slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-slide-content .eyebrow { color: var(--color-gold-light); }
.hero-slide-content .eyebrow::before { background: var(--color-gold-light); }
.hero-slide h1 { color: #fff; font-size: 46px; margin-bottom: 20px; }
.hero-slide h1 em { font-style: normal; color: var(--color-gold-light); }
.hero-slide p.lead { font-size: 17px; color: #e6e9f0; margin-bottom: 22px; max-width: 480px; }
.hero-slide .quote { font-style: italic; color: #d8dce6; border-left: 2px solid var(--color-gold); padding-left: 16px; font-size: 15px; margin-bottom: 24px; max-width: 420px; }
.hero-vision-list {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  text-align: right; font-size: 11px; letter-spacing: 2px; color: #fff;
  display: flex; flex-direction: column; gap: 8px; text-transform: uppercase; font-weight: 600;
  z-index: 2;
}
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background .2s; }
.hero-dots button.active { background: var(--color-gold-light); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); color: #fff; width: 44px; height: 44px; border-radius: 50%; display:flex; align-items:center; justify-content:center; cursor: pointer; font-size: 18px; transition: background .2s; }
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ---------- Generic hero (inner pages, split layout) ---------- */
.split-hero { padding: 64px 0 48px; background: var(--color-ivory); }
.split-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-hero h1 { font-size: 40px; margin-bottom: 18px; }
.split-hero p.lead { color: var(--color-text-light); font-size: 16px; margin-bottom: 20px; max-width: 460px; }
.split-hero .quote { font-style: italic; color: var(--color-text-light); border-left: 2px solid var(--color-gold); padding-left: 16px; font-size: 15px; }
.split-hero .quote strong { display: block; font-style: normal; font-weight: 700; color: var(--color-navy); margin-top: 6px; font-family: var(--font-serif); font-size: 13px; letter-spacing: 1px;}
.split-hero-media img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(28,43,69,0.15); }

.image-hero img { width: 100%; display: block; }

/* ---------- Feature icon rows ---------- */
.icon-row { background: #fff; padding: 44px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.icon-row .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.icon-item { display: flex; gap: 14px; align-items: flex-start; }
.icon-item .ic {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-cream-dark); display: flex; align-items: center; justify-content: center;
  color: var(--color-gold-dark);
}
.icon-item .ic svg { width: 22px; height: 22px; }
.icon-item h4 { font-size: 15px; font-family: var(--font-sans); font-weight: 700; color: var(--color-navy); margin-bottom: 2px; }
.icon-item p { font-size: 13px; color: var(--color-text-light); }

.icon-row.split { display: flex; }
.icon-row.split .container.two-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.group-title { font-size: 11px; letter-spacing: 3px; color: var(--color-gold-dark); text-transform: uppercase; font-weight: 700; margin-bottom: 18px; display:flex; align-items:center; gap:10px;}
.group-title::before{content:'';width:26px;height:2px;background:var(--color-gold);display:inline-block;}
.icon-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.divider-v { width: 1px; background: var(--color-border); margin: 0 30px; }

/* ---------- Section spacing ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.bg-cream { background: var(--color-cream); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: 32px; }
.link-arrow { color: var(--color-gold-dark); font-weight: 600; font-size: 13px; letter-spacing: 0.5px; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Photo + text split (esencia sections) ---------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; }
.split-feature .text-col { padding: 70px 60px; background: var(--color-cream); display:flex; flex-direction:column; justify-content:center; }
.split-feature .text-col h2 { font-size: 28px; margin-bottom: 16px; }
.split-feature .text-col p { color: var(--color-text-light); font-size: 15px; }
.split-feature .img-col { position: relative; }
.split-feature .img-col img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.split-feature .img-col .caption {
  position: absolute; right: 30px; bottom: 30px; color: #fff; text-align: right;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.split-feature .img-col .caption h4 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.split-feature .img-col .caption p { font-style: italic; font-size: 13px; color: #f1eee6; }

/* ---------- Service / step cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(28,43,69,0.1); }
.svc-card img { width: 100%; height: 130px; object-fit: cover; }
.svc-card .body { padding: 18px 20px 22px; }
.svc-card .ic-sm { color: var(--color-gold-dark); margin-bottom: 10px; }
.svc-card .ic-sm svg { width: 24px; height: 24px; }
.svc-card h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.3px; }
.svc-card p { font-size: 13px; color: var(--color-text-light); margin-bottom: 10px; }
.svc-card .go { color: var(--color-gold-dark); font-weight: 700; }

.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 30px; text-align: center; }
.diff-item .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--color-cream-dark); color: var(--color-gold-dark); display:flex; align-items:center; justify-content:center; margin: 0 auto 14px; }
.diff-item .ic svg { width: 24px; height: 24px; }
.diff-item h4 { font-size: 14px; font-weight: 700; color: var(--color-navy); margin-bottom: 4px; }
.diff-item p { font-size: 12px; color: var(--color-text-light); }

/* ---------- Numbered step list (timeline) ---------- */
.step-timeline { display: flex; flex-direction: column; gap: 0; }
.step-row { display: grid; grid-template-columns: 56px 90px 1fr; align-items: center; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.step-row:last-child { border-bottom: none; }
.step-num { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--color-gold); color: var(--color-gold-dark); font-family: var(--font-serif); font-size: 20px; display:flex; align-items:center; justify-content:center; }
.step-row img { width: 90px; height: 60px; object-fit: cover; border-radius: 4px; }
.step-row h4 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 4px; }
.step-row p { font-size: 13px; color: var(--color-text-light); }

.step-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 24px; }
.step-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow:hidden; position:relative; }
.step-card img { width:100%; height:130px; object-fit:cover; }
.step-card .num-badge {
  position:absolute; top:100px; left:16px; width:40px;height:40px;border-radius:50%;
  background:var(--color-gold-gradient); color:#fff; font-family:var(--font-serif); font-size:17px;
  display:flex;align-items:center;justify-content:center; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.step-card .body { padding: 30px 18px 20px; }
.step-card h4 { font-size: 14px; text-transform:uppercase; letter-spacing:0.4px; margin-bottom:6px; color:var(--color-navy); font-family: var(--font-sans); font-weight:700;}
.step-card p { font-size:13px; color:var(--color-text-light); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band img.bg { width: 100%; height: 320px; object-fit: cover; }
.cta-band .overlay {
  position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,43,69,0.85), rgba(28,43,69,0.35));
  display:flex; align-items:center;
}
.cta-band .overlay .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 24px; width:100%; }
.cta-band h2 { color:#fff; font-size:30px; max-width: 520px; }
.cta-band p { color:#dfe3ec; margin-top:10px; max-width:460px; font-size:14px;}

/* ---------- Two-column photo cards (Abu Dhabi / Ras Al Khaimah style) ---------- */
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dest-card { position: relative; min-height: 380px; background-size: cover; background-position: center; display:flex; align-items:flex-end; }
.dest-card::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(28,43,69,0) 30%, rgba(28,43,69,0.88) 100%); }
.dest-card .content { position: relative; z-index:2; color:#fff; padding: 34px; }
.dest-card h3 { color: var(--color-gold-light); font-size: 24px; margin-bottom: 4px; }
.dest-card .sub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; opacity: 0.9;}
.dest-card p { font-size: 14px; color: #e6e9f0; max-width: 340px; }

/* ---------- Contact form section ---------- */
.contact-section { background: var(--color-cream); padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 40px; align-items: start; }
.contact-grid .books img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(28,43,69,0.15); }
.contact-info h2 { font-size: 30px; margin-bottom: 14px; }
.contact-info p { color: var(--color-text-light); font-size: 15px; margin-bottom: 24px; }
.contact-bullets { display:flex; flex-direction:column; gap:14px; }
.contact-bullets .b { display:flex; gap:10px; align-items:center; font-size:13px; font-weight:600; color: var(--color-navy); }
.contact-bullets svg { width:18px; height:18px; color: var(--color-gold-dark); }

.contact-form { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(28,43,69,0.08); }
.contact-form h4 { font-family: var(--font-sans); text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; color: var(--color-gold-dark); margin-bottom: 18px; font-weight: 700;}
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 4px;
  font-family: var(--font-sans); font-size: 14px; background: var(--color-cream);
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form button { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 12px; color: var(--color-text-light); margin-top: 12px; text-align: center; }

/* ---------- Servicios hub cards linking to variants ---------- */
.variant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 28px; }
.variant-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; background-size: cover; background-position: center; display:flex; align-items:flex-end;}
.variant-card::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(28,43,69,0.05) 20%, rgba(19,29,48,0.92) 100%); }
.variant-card .content { position: relative; z-index: 2; padding: 26px; color:#fff; }
.variant-card .tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold-light); margin-bottom: 8px; font-weight:700; }
.variant-card h3 { color:#fff; font-size: 21px; margin-bottom: 8px; }
.variant-card p { font-size: 13px; color: #dde1ea; margin-bottom: 14px; }
.variant-card .go-link { font-size: 12px; font-weight: 700; color: var(--color-gold-light); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Generic content page (Proyectos, Nosotros extra) ---------- */
.page-hero { padding: 60px 0 40px; text-align:center; background: var(--color-cream); }
.page-hero h1 { font-size: 40px; margin-bottom: 14px; }
.page-hero p { color: var(--color-text-light); max-width: 640px; margin: 0 auto; font-size: 16px;}

.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 30px; }
.project-card { border-radius: var(--radius); overflow: hidden; background:#fff; border: 1px solid var(--color-border); }
.project-card img { width:100%; height: 220px; object-fit: cover; }
.project-card .body { padding: 20px 22px 24px; }
.project-card .status { display:inline-block; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; color: var(--color-gold-dark); background: var(--color-cream-dark); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;}
.project-card h3 { font-size: 19px; margin-bottom: 6px; }
.project-card p { font-size: 13px; color: var(--color-text-light); margin-bottom: 10px;}
.project-card .loc { font-size: 12px; color: var(--color-gold-dark); font-weight:600; }

/* ---------- Contact page ---------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-page-grid .info-block { display:flex; gap:16px; align-items:flex-start; margin-bottom: 24px; }
.contact-page-grid .info-block .ic { width:44px;height:44px;border-radius:50%; background: var(--color-cream-dark); color:var(--color-gold-dark); display:flex;align-items:center;justify-content:center; flex-shrink:0;}
.contact-page-grid .info-block h4 { font-size: 15px; margin-bottom: 4px; font-family: var(--font-sans); font-weight:700; }
.contact-page-grid .info-block p { font-size: 14px; color: var(--color-text-light); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split-hero .container, .split-feature, .dest-grid, .contact-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .contact-grid .books { display: none; }
  .icon-row.split .container.two-groups { grid-template-columns: 1fr; }
  .divider-v { display: none; }
  .icon-grid-4 { grid-template-columns: repeat(2,1fr); }

  .nav-toggle { display: flex; order: 3; }
  .main-nav { position: static; }
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-cream, #fff);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .main-nav.open ul { display: flex; }
  .main-nav ul li { width: 100%; }
  .main-nav ul li a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
  }
  .main-nav ul li:last-child a { border-bottom: none; }
  .main-nav a:hover, .main-nav a.active { border-color: transparent; border-left-color: var(--color-gold); background: rgba(179,129,47,0.06); }

  .site-header .btn-gold { padding: 10px 16px; font-size: 12px; order: 2; }
  .hero-slide h1 { font-size: 32px; }
  .hero-vision-list { display: none; }
  .hero-slider { height: 560px; }
}

@media (max-width: 640px) {
  .site-header .container { height: 68px; }
  .site-header .btn-gold { display: none; }
  .nav-toggle { margin-left: auto; }
  .logo img { height: 36px; }
  .logo-text .name { font-size: 17px; }
  .logo-text .tag { font-size: 8px; }
  h1 { font-size: 28px !important; }
  .section { padding: 56px 0; }
  .hero-slider { height: 520px; }
  .contact-form { padding: 20px; }
}


/* ---------- Hero slider: imágenes completas (override) ---------- */
.hero-slider { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: calc(100vh - 84px); min-height: 300px; background: #fff;}
.hero-slide { display: block;}
.hero-slide::before { display: none;}
.hero-slide .hero-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px);}
.hero-slide img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;}
@media (max-width: 980px) { .hero-slider { height: auto;}}


/* ---------- Index: hero slide 1 y secciones inferiores en código (según diseño) ---------- */
:root { --f-head: 'Playfair Display', Georgia, serif; --f-body: 'Cormorant Garamond', Georgia, serif; --c-gold: #b3812f; --c-gold-d: #9a6b1f; --c-navy: #15233f;}

/* Hero slide 1 */
.hero-slide.code-slide { container-type: size;}
.cv { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(100cqw, 204.8cqh); aspect-ratio: 1112 / 543; container-type: inline-size; overflow: hidden;}
.cv > * { position: absolute; margin: 0; white-space: normal;}
.hero-slide .cv .cv-img { inset: 0; width: 100%; height: 100%; object-fit: cover;}
.cv-eyebrow { left: 5.58cqw; top: 13.6cqw; font: 600 calc(1.22cqw * var(--fz,1))/1 var(--f-head); letter-spacing: .3cqw; text-transform: uppercase; color: #a8761f; white-space: nowrap;}
.hero-slide .cv .cv-h1 { left: 5.5cqw; top: 16.3cqw; font: 500 calc(4.18cqw * var(--fz,1))/calc(4.15cqw * var(--fz,1)) var(--f-head); letter-spacing: 0; text-transform: uppercase; color: var(--c-navy); white-space: nowrap;}
.cv-h1 span { display: block;}
.cv-h1 i { font-style: normal; color: #9a9fac;}
.cv-h1 b { font-weight: 500; color: #a1731f;}
.cv-rule { left: 5.6cqw; top: 29.4cqw; width: 4.3cqw; height: max(1px,.09cqw); background: var(--c-gold);}
.cv-rule2 { top: 42.4cqw; width: 3cqw;}
.cv-lead { left: 5.58cqw; top: 30.5cqw; width: 40cqw; font: 700 calc(1.83cqw * var(--fz,1))/calc(1.9cqw * var(--fz,1)) var(--f-body); color: #1c2b45; white-space: nowrap;}
.cv-quote { left: 5.8cqw; top: 36.9cqw; width: 30cqw; font: italic 600 calc(1.43cqw * var(--fz,1))/calc(1.53cqw * var(--fz,1)) var(--f-body); color: #3a4562; white-space: nowrap;}
.cv-vision { left: 88.5cqw; top: 23.9cqw; list-style: none; padding: 0; font: 700 calc(.82cqw * var(--fz,1))/calc(1.3cqw * var(--fz,1)) var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: #1c2b45;}
.cv-vline { left: 88.8cqw; top: 29.9cqw; width: 3.6cqw; height: max(1px,.09cqw); background: var(--c-gold);}

/* Franja de iconos */
.ic-strip { display: grid; grid-template-columns: 35fr 198fr 228fr 203fr 209fr 210fr 29fr; container-type: inline-size; aspect-ratio: 1112 / 163; background: #fcfaf6; align-items: center; overflow: hidden;}
.ic-item:first-child { grid-column: 2;}
.ic-item { position: relative; text-align: center; padding: .75cqw 0 0; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-start;}
.ic-item + .ic-item::before { content: ''; position: absolute; left: 0; top: 17%; height: 63%; width: max(1px,.09cqw); background: #e4ddd0;}
.ic-item svg { width: 4.3cqw; height: 4.3cqw; color: #a8741f; margin-bottom: 0; stroke-width: 1.3;}
.ic-item h4 { font: 600 1.2cqw/1.45cqw var(--f-head); text-transform: uppercase; letter-spacing: .01em; color: var(--c-navy); margin: 0 0 .7cqw; min-height: 2.9cqw;}
.ic-item p { font: 600 1.36cqw/1.53cqw var(--f-body); color: #2b3345; margin: 0; max-width: none; white-space: nowrap;}

/* Abu Dhabi / Ras Al Khaimah */
.dz-grid { display: grid; grid-template-columns: 1fr 1fr;}
.dz-card { position: relative; aspect-ratio: 556 / 340; background-size: cover; background-position: center; container-type: inline-size; overflow: hidden;}
.dz-in { position: absolute; inset: 0;}
.dz-in > * { position: absolute; margin: 0;}
.dz-in h3 { left: 10.8cqw; top: 3.5cqw; font: 500 4.5cqw/1 var(--f-head); text-transform: uppercase; letter-spacing: .01em; color: var(--c-gold-d); white-space: nowrap;}
.dz-sub { left: 10.8cqw; top: 9.9cqw; font: 600 2cqw/2.9cqw var(--f-head); letter-spacing: .62cqw; text-transform: uppercase; color: #1c2b45; white-space: nowrap;}
.dz-rule { left: 10.8cqw; top: 17.8cqw; width: 8.6cqw; height: max(1px,.18cqw); background: var(--c-gold);}
.dz-in p { left: 10.8cqw; top: 20.9cqw; width: 46cqw; font: 600 2.95cqw/3.7cqw var(--f-body); color: #1c2b45; white-space: nowrap;}
.dz-rak h3, .dz-rak .dz-sub, .dz-rak .dz-rule, .dz-rak p { left: 6.7cqw;}
.dz-rak .dz-sub { top: 9.7cqw; line-height: 2.95cqw;}
.dz-rak .dz-rule { top: 20.5cqw;}
.dz-rak p { top: 22.1cqw; width: 46cqw;}

/* Solicita información */
.ct-sec { background: #fff;}
.ct-in { position: relative; aspect-ratio: 1112 / 298; background-size: cover; background-position: center; container-type: inline-size; overflow: hidden;}
.ct-in > * { position: absolute; margin: 0;}
.ct-eyebrow { left: 31.4cqw; top: 1.5cqw; font: 600 1cqw/1 var(--f-head); letter-spacing: .22cqw; text-transform: uppercase; color: var(--c-gold); white-space: nowrap;}
.ct-title { left: 31.3cqw; top: 3.55cqw; font: 500 2.68cqw/1 var(--f-head); text-transform: uppercase; color: var(--c-navy); white-space: nowrap;}
.ct-title b { font-weight: 500; color: var(--c-gold-d);}
.ct-text { left: 31.3cqw; top: 6.9cqw; width: 37cqw; font: 600 1.31cqw/1.58cqw var(--f-body); color: #1c2b45; white-space: nowrap;}
.ct-bullets { left: 31.3cqw; top: 13.4cqw; display: flex; gap: 1.9cqw;}
.ct-bullets > div { display: flex; align-items: center; gap: .65cqw; font: 700 .74cqw/1.2cqw var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: #1c2b45;}
.ct-bullets svg { stroke-width: 1.7; width: 2.9cqw; height: 2.9cqw; color: var(--c-gold); flex: none;}
.dc-card { left: 68.17%; top: 2.35%; width: 26.26%; height: 86.58%; box-sizing: border-box; background: #fff; border-radius: .6cqw; box-shadow: 0 .3cqw 1.2cqw rgba(28,43,69,.1);
  padding: .8cqw 1.25cqw 1.5cqw; display: flex; flex-direction: column; line-height: 1.2;}
.dc-card h4 { font: 700 1.04cqw/1.2 var(--f-head); letter-spacing: .15cqw; text-transform: uppercase; color: var(--c-navy); margin: 0 0 .55cqw;}
.dc-card form { display: flex; flex-direction: column; gap: .45cqw; flex: 1;}
.dc-card input, .dc-card select, .dc-card textarea { width: 100%; box-sizing: border-box; border: 1px solid #e3e1dc; background: #fff; border-radius: .25cqw;
  padding: 0 .75cqw; height: 2.2cqw; font: 400 .93cqw var(--font-sans); color: var(--color-navy);}
.dc-card input::placeholder, .dc-card textarea::placeholder { color: #8a8f99;}
.dc-card textarea { height: 3.9cqw; padding-top: .5cqw; resize: none;}
.dc-two { display: grid; grid-template-columns: 28% 1fr; gap: .45cqw;}
.dc-card button { margin-top: auto; height: 3.8cqw; border: 0; border-radius: .3cqw; cursor: pointer; color: #fff; font: 500 1.35cqw var(--font-sans); letter-spacing: .08cqw; text-transform: uppercase; background: linear-gradient(90deg,#b8862f,#9a6b1f);}

/* Móvil */
@media (max-width: 700px) {
  br.bd { display: none;}
  .cv-lead, .cv-quote, .dz-in p, .ct-text, .ic-item p { white-space: normal;}
  .hero-slider { aspect-ratio: 4 / 5; max-height: none;}
  .cv { left: 0; top: 0; transform: none; width: 100%; height: 100%; aspect-ratio: auto; container-type: normal; display: flex; flex-direction: column; padding: 28px 22px; gap: 0;}
  .cv > * { position: static;}
  .hero-slide .cv .cv-img { position: absolute; z-index: 0; object-position: 72% bottom;}
  /* sin degradado blanco sobre la foto en móvil (si hace falta, se usa el «sombreado» de cada diapositiva en el panel) */
  .cv::before { content: none;}
  .hero-slide .cv > :not(.cv-img) { position: relative !important; z-index: 2; left: auto !important; top: auto !important; width: auto !important; max-width: 100%; transform: none;}
  .cv-eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 10px;}
  .hero-slide .cv .cv-h1 { font-size: 27px; line-height: 31px; margin-bottom: 12px; white-space: normal;}
  .cv-rule { width: 40px; height: 1px; margin-bottom: 12px;}
  .cv-lead { width: auto; font-size: 17px; line-height: 21px; margin-bottom: 12px;}
  .cv-quote { width: auto; font-size: 14px; line-height: 18px;}
  .cv-rule2, .cv-vision, .cv-vline { display: none;}
  .ic-item:first-child { grid-column: auto;}
  .ic-strip { grid-template-columns: 1fr 1fr; aspect-ratio: auto; padding: 18px 8px; row-gap: 20px; container-type: normal;}
  .ic-item { height: auto; padding: 0 12px;}
  .ic-item + .ic-item::before { display: none;}
  .ic-item svg { width: 34px; height: 34px; margin-bottom: 8px;}
  .ic-item h4 { font-size: 12px; line-height: 16px; margin-bottom: 6px;}
  .ic-item p { font-size: 14px; line-height: 18px; max-width: none;}
  .dz-grid { grid-template-columns: 1fr;}
  .dz-card { aspect-ratio: auto; min-height: 330px; container-type: normal;}
  .dz-in { position: relative; inset: auto; padding: 26px 22px; display: flex; flex-direction: column;}
  .dz-in > * { position: static;}
  .dz-in h3, .dz-rak h3 { font-size: 24px;}
  .dz-sub, .dz-rak .dz-sub { font-size: 12px; line-height: 18px; letter-spacing: 3px; margin: 6px 0 10px;}
  .dz-rule, .dz-rak .dz-rule { width: 48px; height: 1px; margin-bottom: 12px;}
  .dz-in p, .dz-rak p { width: auto; max-width: 280px; font-size: 16px; line-height: 21px;}
  .ct-in { aspect-ratio: auto; container-type: normal; padding: 28px 22px; background-position: left center;}
  .ct-in > * { position: static;}
  .ct-in::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.7));}
  .ct-in > * { position: relative; z-index: 1; left: auto; top: auto;}
  .ct-eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 8px;}
  .ct-title { font-size: 28px; margin-bottom: 12px;}
  .ct-text { width: auto; font-size: 16px; line-height: 21px; margin-bottom: 14px;}
  .ct-bullets { flex-direction: column; gap: 10px; margin-bottom: 22px;}
  .ct-bullets > div { font-size: 12px; line-height: 15px; gap: 10px;}
  .ct-bullets svg { width: 26px; height: 26px;}
  .dc-card { width: auto; height: auto; padding: 22px 18px 26px; border-radius: 6px;}
  .dc-card h4 { font-size: 12px; letter-spacing: 2px; margin-bottom: 12px;}
  .dc-card form { gap: 10px;}
  .dc-card input, .dc-card select, .dc-card textarea { height: 44px; font-size: 15px; padding: 0 12px; border-radius: 4px;}
  .dc-card textarea { height: 90px; padding-top: 10px;}
  .dc-card button { height: 48px; font-size: 14px; margin-top: 6px; border-radius: 4px;}
}

/* Pie del index según diseño */
.index-page .footer-dark .footer-brand { display: flex; align-items: center; gap: 24px;}
.index-page .footer-dark .footer-brand .name { font-family: var(--font-serif); font-weight: 400; font-size: 12px; letter-spacing: 4px; color: #fff;}
.index-page .footer-dark .footer-brand::after { content: ''; display: block; width: 74px; height: 1px; background: var(--color-gold);}
.index-page .footer-dark .footer-links { font-size: 10px; letter-spacing: 2px; color: #fff; text-transform: uppercase;}
@media (max-width: 700px) { .index-page .footer-dark .footer-brand::after { display: none;}}

/* Menú con 5 apartados: ajuste para anchos intermedios */
@media (min-width: 981px) and (max-width: 1240px) {
  .main-nav { gap: 20px; }
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 13px; letter-spacing: .3px; }
  .site-header .btn-gold { padding: 11px 16px; font-size: 12px; }
  .logo-text .name { font-size: 19px; }
}

/* ---------- Header v2: logo a la izquierda, botón compacto, desplegables ---------- */
.site-header .container { max-width: none; padding: 0 clamp(16px, 2.6vw, 44px); }
.site-header .btn-gold { padding: 9px 16px; font-size: 11.5px; letter-spacing: .4px; }
.main-nav { margin-left: auto; margin-right: 6px; }
.main-nav li { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.main-nav ul.sub { display: none; position: absolute; top: calc(100% + 14px); left: -18px; min-width: 310px; flex-direction: column; gap: 0; background: var(--color-ivory); border: 1px solid var(--color-border); border-top: 2px solid var(--color-gold); box-shadow: 0 14px 28px rgba(28,43,69,.12); padding: 6px 0; z-index: 300; }
.main-nav ul.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover > ul.sub, .has-sub:focus-within > ul.sub, .has-sub.open > ul.sub { display: flex; }
.main-nav ul.sub li a { display: block; padding: 12px 22px; font-size: 13px; letter-spacing: .2px; text-transform: none; border: none; border-left: 3px solid transparent; white-space: nowrap; }
.main-nav ul.sub li a:hover, .main-nav ul.sub li a.active { background: rgba(179,129,47,.08); border-left-color: var(--color-gold); color: var(--color-gold-dark); }

@media (min-width: 981px) and (max-width: 1240px) {
  .site-header .btn-gold { padding: 8px 12px; font-size: 11px; }
}
@media (max-width: 980px) {
  .main-nav ul.sub { position: static; display: flex; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0; }
  .main-nav ul.sub::before { display: none; }
  .main-nav ul.sub li a { padding: 13px 24px 13px 44px; font-size: 13px; }
  .has-sub > a::after { display: none; }
  .main-nav { margin-left: 0; }
  .site-header .btn-gold { order: 1; margin-left: auto; }
}

.main-nav a, .logo-text, .logo-text span { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) {
  .site-header .container { gap: 10px; }
  .logo img { height: 40px; }
  .logo-text .name { font-size: 17px; }
  .logo-text .tag { font-size: 8.5px; letter-spacing: 1.5px; }
  .main-nav { gap: 0; margin-right: 0; }
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: 12px; letter-spacing: .2px; }
  .has-sub > a::after { margin-left: 4px; }
  .site-header .btn-gold { padding: 8px 10px; font-size: 10px; }
}

/* Menú centrado entre logo y botón */
@media (min-width: 981px) {
  .main-nav { flex: 1; justify-content: center; margin-left: 0; margin-right: 0; }
}

/* ---------- Formulario por pasos ---------- */
.wiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wiz fieldset.on { display: block; }
.wiz legend { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--color-navy); margin-bottom: 16px; padding: 0; }
.wz-prog { display: flex; gap: 6px; margin-bottom: 10px; }
.wz-prog i { flex: 1; height: 3px; border-radius: 2px; background: var(--color-border); transition: background .25s; }
.wz-prog i.on { background: var(--color-gold); }
.wz-count { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--color-text-light); margin-bottom: 18px; }
.wz-count b { color: var(--color-gold-dark); font-weight: 700; }
.wz-opt { display: block; position: relative; margin-bottom: 10px; cursor: pointer; }
.wz-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.wz-opt span { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1.5px solid var(--color-border); border-radius: 4px; background: var(--color-cream); font-size: 15px; font-weight: 500; color: var(--color-navy); transition: border-color .2s, background .2s; }
.wz-opt span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--color-gold); background: #fff; box-shadow: inset 0 0 0 4px #fff; transition: background .2s; }
.wz-opt:hover span { border-color: var(--color-gold); }
.wz-opt input:checked + span { border-color: var(--color-gold); background: #fff; }
.wz-opt input:checked + span::before { background: var(--color-gold); }
.wz-opt input:focus-visible + span { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.wz-sum { font-size: 13px; color: var(--color-gold-dark); font-weight: 600; margin-bottom: 14px; }
.wz-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--color-text-light); margin: 4px 0 16px; cursor: pointer; }
.wz-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: var(--color-gold); }
.wiz .wz-back { width: auto; background: none; border: 0; padding: 0; margin: 14px 0 0; font: 600 13px var(--font-sans); color: var(--color-gold-dark); cursor: pointer; }
.wiz .wz-back[hidden] { display: none; }

/* header más alto: logo completo */
.site-header .container { height: 96px; }
.logo img { height: 60px; }
.hero-slider { max-height: calc(100vh - 96px); }
@media (min-width: 981px) and (max-width: 1180px) { .logo img { height: 52px; } }
@media (max-width: 980px) { .site-header .container { height: 84px; } .logo img { height: 52px; } }
@media (max-width: 640px) { .site-header .container { height: 78px; } .logo img { height: 48px; } }

/* Home · formulario igual que el de Contacto (dentro de «Solicita información») */
.ct-in > .ct-card { position: relative; left: auto; top: auto; margin: .63cqw 0 .63cqw 68.17cqw; width: 26.26cqw; min-width: 330px; min-height: 23.2cqw; box-sizing: border-box; display: flex; }
.ct-card .contact-form { flex: 1; }
.ct-card .contact-form { padding: 22px 24px 20px; box-shadow: 0 .3cqw 1.2cqw rgba(28,43,69,.12) !important; }
.ct-card .contact-form h4 { margin-bottom: 12px; }
.ct-card .wiz legend { font-size: 19px; margin-bottom: 12px; }
.ct-card .wz-count { margin-bottom: 12px; }
.ct-card .wz-opt span { padding: 11px 14px; font-size: 14px; }
.ct-card .wiz .form-row { margin-bottom: 8px; }
.ct-card .wiz input, .ct-card .wiz select, .ct-card .wiz textarea { font-size: 14px; }
.ct-in { overflow: clip; }
@media (max-width: 700px) { .ct-in > .ct-card { margin: 18px 0 0; width: auto; min-width: 0; } }

/* Slider de portada: estilo propio de cada diapositiva (color, tamaño, tipografía, posición, fondo) */
.cv-mv > :not(.cv-img):not(.cv-shade) { translate: var(--dx,0) var(--dy,0); }
.cv-tc .cv-eyebrow, .cv-tc .cv-h1, .cv-tc .cv-h1 i, .cv-tc .cv-h1 b, .cv-tc .cv-lead, .cv-tc .cv-quote, .cv-tc .cv-vision { color: var(--tc) !important; }
.cv-tc .cv-rule, .cv-tc .cv-vline { background: var(--tc) !important; }
.cv-ff .cv-eyebrow, .cv-ff .cv-h1, .cv-ff .cv-lead, .cv-ff .cv-quote, .cv-ff .cv-vision { font-family: var(--ff) !important; }
.cv .cv-shade { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cv-shade.dark { background: linear-gradient(90deg, rgba(10,16,30,.72) 0%, rgba(10,16,30,.45) 45%, rgba(10,16,30,0) 80%); }
.cv-shade.light { background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.5) 45%, rgba(255,255,255,0) 80%); }
@media (max-width: 760px) { .hero-slide .cv > .cv-shade { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 1; } .cv-mv > :not(.cv-img):not(.cv-shade) { translate: none; } }
/* Selector de idioma */
.lang-sw { display: flex; gap: 2px; align-items: center; margin-left: 14px; font-family: var(--f-body, serif); }
.lang-sw a { font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 7px; color: #6b7385; border-bottom: 2px solid transparent; text-decoration: none; }
.lang-sw a:hover { color: #b3812f; }
.lang-sw a.on { color: #15233f; border-bottom-color: #b3812f; }
@media (max-width: 980px) { .lang-sw { margin-left: 8px; } .lang-sw a { padding: 4px 5px; } }
@media (max-width: 980px) { .lang-sw { order: 2; } }

/* ---------- Slider de portada: imágenes 1700 × 715 px ---------- */
@media (min-width: 701px) {
  .hero-slider { aspect-ratio: 1700 / 715; min-height: 0; }
  .hero-slide img { object-fit: cover; }
  .hero-slide .hero-bg { display: none; }
  .cv { aspect-ratio: 1700 / 715; width: min(100cqw, 237.8cqh); }
}
@media (max-width: 700px) {
  .hero-slider:not(:has(.code-slide)):not(.has-m) { aspect-ratio: 1700 / 715; min-height: 0; }
  .hero-slider.has-m .hero-slide:not(.code-slide) img { object-fit: cover; }
  .hero-slider.has-m { aspect-ratio: 9 / 16; max-height: none; }
  /* diapositiva sin imagen móvil dentro de un slider 9:16: se ve entera (sin recortar ni ampliar) sobre su propio fondo difuminado */
  .hero-slider.has-m .hero-slide.no-m:not(.code-slide) .hero-bg { display: block; }
  .hero-slider.has-m .hero-slide.no-m:not(.code-slide) img { object-fit: contain; }
}
picture { display: contents; }

/* Cabecera: más aire entre el logo y el menú */
.site-header .logo { margin-right: clamp(28px, 4.5vw, 96px); flex: none; }
.site-header .main-nav { margin-right: 0; }
@media (max-width: 980px) { .site-header .logo { margin-right: 0; } }

/* Submenú de escritorio más tolerante: no se cierra al instante al mover el ratón (margen de gracia) */
@media (min-width: 981px) {
  .main-nav ul.sub { display: flex; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .18s ease .28s, transform .18s ease .28s, visibility 0s linear .46s; }
  .has-sub:hover > ul.sub, .has-sub:focus-within > ul.sub, .has-sub.open > ul.sub { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .has-sub > a { cursor: pointer; }
}

/* ===== Efecto al pasar el ratón por el menú (escritorio) =====
 * Línea dorada que nace del centro y se expande con degradado, rombo dorado que aparece debajo,
 * y un ligero resplandor en el texto. Sin cambios de tamaño (no mueve el resto del menú).
 * Igual en español, inglés y catalán. */
@media (min-width: 981px) and (hover: hover) {
  .main-nav > ul > li > a {
    position: relative; border-bottom-color: transparent !important;
    transition: color .35s ease, text-shadow .35s ease, transform .45s cubic-bezier(.2,.8,.2,1);
  }
  .main-nav > ul > li > a::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, rgba(201,151,63,0) 0%, #c9973f 20%, #8f6624 50%, #c9973f 80%, rgba(201,151,63,0) 100%);
    transform: scaleX(0); transform-origin: 50% 50%;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .main-nav > ul > li:not(.has-sub) > a::after {
    content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; pointer-events: none;
    background: #b3812f; transform: translateX(-50%) rotate(45deg) scale(0); opacity: 0;
    transition: transform .45s cubic-bezier(.2,.9,.3,1.4) .08s, opacity .3s ease .08s;
  }
  .main-nav > ul > li > a:hover, .main-nav > ul > li:hover > a, .main-nav > ul > li > a:focus-visible {
    color: var(--color-gold-dark); transform: translateY(-1px); text-shadow: 0 0 14px rgba(201,151,63,.38);
  }
  .main-nav > ul > li > a:hover::before, .main-nav > ul > li:hover > a::before, .main-nav > ul > li > a:focus-visible::before, .main-nav > ul > li > a.active::before { transform: scaleX(1); }
  .main-nav > ul > li:not(.has-sub) > a:hover::after, .main-nav > ul > li:not(.has-sub) > a:focus-visible::after { transform: translateX(-50%) rotate(45deg) scale(1); opacity: 1; }
  .main-nav > ul > li > a.active { color: var(--color-gold-dark); }
  /* submenú: la barra dorada entra deslizándose y el texto se desplaza un poco */
  .main-nav ul.sub li a { transition: background .3s ease, color .3s ease, padding-left .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
  .main-nav ul.sub li a:hover { padding-left: 28px; }
  /* botón de la cabecera: destello dorado que cruza el botón */
  .site-header .btn-gold { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, filter .35s ease; }
  .site-header .btn-gold::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg); transition: left .7s cubic-bezier(.2,.8,.2,1);
  }
  .site-header .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(143,102,36,.35); filter: brightness(1.04); }
  .site-header .btn-gold:hover::after { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav > ul > li > a, .main-nav > ul > li > a::before, .main-nav > ul > li > a::after, .site-header .btn-gold, .site-header .btn-gold::after { transition: none !important; }
}
