/* =========================================================
   DRA. ISABEL GARCIA — MOBILE-FIRST DESIGN SYSTEM
   Breakpoints: 480 / 768 / 1024 / 1440
   ========================================================= */

:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --charcoal: #1e1e1e;
  --gold: #c9a961;
  --gold-light: #e3cc91;
  --gold-dark: #7f6027;
  --white: #ffffff;
  --paper: #f5f5f3;
  --gray: #a4a4a4;
  --gray-dark: #5f5f5f;
  --border-dark: rgba(255, 255, 255, 0.14);
  --border-light: rgba(10, 10, 10, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Montserrat, "Helvetica Neue", Arial, sans-serif;
  --header-height: 72px;
  --container: 1240px;
  --section-space: clamp(5rem, 11vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--black); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link {
  position: fixed; z-index: 9999; top: 8px; left: 8px; transform: translateY(-150%);
  padding: 12px 18px; background: var(--gold); color: var(--black); font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: var(--header-height);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2); background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(18px); transition: height .3s ease, background .3s ease;
}
.site-header.scrolled { height: 64px; background: rgba(10, 10, 10, 0.96); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; z-index: 1002; display: flex; align-items: center; gap: 10px; min-width: 0; height: 62px; }
.brand img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.brand-copy { display: grid; min-width: 0; line-height: 1.1; }
.brand-copy strong { overflow: hidden; color: var(--white); font-family: var(--serif); font-size: .88rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy small { display: none; margin-top: 5px; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.desktop-nav { display: none; }
.menu-toggle {
  position: relative; z-index: 1002; display: grid; place-content: center; gap: 7px;
  width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: var(--gold);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 999; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-height) + 32px) 24px 32px; background: var(--black);
  color: var(--white); opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu nav { display: grid; border-top: 1px solid var(--border-dark); }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 18px; min-height: 64px; padding: 12px 0;
  border-bottom: 1px solid var(--border-dark); color: var(--gold-light); font-family: var(--serif);
  font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.05;
}
.mobile-menu nav span { color: var(--gray); font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; }
.mobile-menu-contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; color: var(--gray); font-size: .85rem; }
.mobile-menu-contact a { min-height: 48px; display: inline-flex; align-items: center; color: var(--white); }

/* Buttons and headings */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px;
  padding: 14px 22px; border: 1px solid transparent; border-radius: 1px; font-weight: 700;
  line-height: 1.2; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}
.button:active { transform: translateY(1px); }
.button-gold { background: var(--gold); color: var(--black); }
.button-gold:hover { background: var(--gold-light); }
.button-outline-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.button-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }
.eyebrow {
  margin: 0 0 18px; color: var(--gold); font-size: .75rem; font-weight: 800;
  letter-spacing: .2em; line-height: 1.3; text-transform: uppercase;
}
.eyebrow-dark { color: var(--gold-dark); }
.section-heading { margin-bottom: 42px; }
.section-heading h2, .about-copy h2, .contact-copy h2, .principles h2, .legal-content h1 {
  margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 9vw, 4.7rem); font-weight: 400;
  letter-spacing: -.035em; line-height: 1.02;
}
.section-heading > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--gray-dark); }

/* Hero */
.hero {
  position: relative; isolation: isolate; display: flex; min-height: 82svh; padding: calc(var(--header-height) + 32px) 0 24px;
  align-items: flex-end; overflow: hidden; background: #080808; color: var(--white);
}
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; }
.hero-media img { object-fit: cover; object-position: 40% center; filter: saturate(.72) contrast(1.06); }
.hero-overlay {
  position: absolute; z-index: -2; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,.3) 8%, rgba(5,5,5,.48) 44%, rgba(5,5,5,.98) 100%), linear-gradient(90deg, rgba(5,5,5,.88) 0%, rgba(5,5,5,.62) 68%, rgba(5,5,5,.4) 100%);
}
.hero::after {
  display: none;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(2.65rem, 12vw, 4.4rem); font-weight: 400; letter-spacing: -.05em; line-height: .94; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-lead { max-width: 550px; margin: 24px 0 0; color: #dedede; line-height: 1.7; }
.hero-actions { display: grid; gap: 6px; margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; color: var(--white); font-weight: 700; }
.text-link span { color: var(--gold); }
.hero-signature { position: absolute; right: 20px; bottom: 24px; display: none; margin: 0; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .22em; writing-mode: vertical-rl; }
.reveal { animation: reveal-up .8s both; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Trust strip */
.trust-strip { background: linear-gradient(135deg, #d2b66f 0%, #c2a057 58%, #b58f46 100%); color: var(--black); }
.trust-grid { display: grid; }
.trust-grid > div { display: grid; gap: 1px; min-height: 82px; padding: 15px 76px 15px 0; border-bottom: 1px solid rgba(10,10,10,.22); }
.trust-grid > div:last-child { border-bottom: 0; }
.trust-grid strong { font-size: .75rem; letter-spacing: .17em; text-transform: uppercase; }
.trust-grid span { font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; }

/* Areas */
.areas { background: var(--paper); }
.areas-grid { display: grid; gap: 14px; }
.area-card {
  position: relative; min-height: 330px; padding: 30px 26px; overflow: hidden; border: 1px solid var(--border-light); background: var(--white);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.area-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 50px rgba(10,10,10,.08); }
.area-card-dark { background: var(--black-soft); color: var(--white); }
.area-number { position: absolute; top: 20px; right: 22px; color: var(--gold-dark); font-size: .75rem; letter-spacing: .14em; }
.area-card svg { width: 42px; height: 42px; margin-bottom: 48px; fill: none; stroke: var(--gold-dark); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.1; }
.area-card p { margin: 14px 0 28px; color: var(--gray-dark); line-height: 1.65; }
.area-card-dark p { color: #b7b7b7; }
.area-card a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--gold-dark); font-size: .86rem; font-weight: 800; }
.area-card a span { transition: transform .2s ease; }
.area-card a:hover span { transform: translate(3px,-3px); }

/* About */
.about { background: var(--black); color: var(--white); }
.about-grid { display: grid; gap: 48px; }
.about-visual { position: relative; max-width: 620px; }
.about-visual picture { display: block; overflow: hidden; border: 1px solid rgba(201,169,97,.28); aspect-ratio: 4 / 4.8; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-seal {
  position: absolute; right: -6px; bottom: -26px; display: grid; place-content: center; width: 126px; height: 126px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--black); color: var(--gold); text-align: center;
}
.about-seal::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201,169,97,.45); border-radius: 50%; }
.about-seal span { font-size: .75rem; letter-spacing: .12em; }
.about-seal strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.about-copy h2 { color: var(--white); }
.about-copy > p { color: #bdbdbd; }
.about-copy .about-intro { margin-top: 28px; color: var(--white); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
.about-copy blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }

/* Differentials and principles */
.differentiators { background: var(--white); }
.centered { text-align: left; }
.differentials-grid { display: grid; border-top: 1px solid var(--border-light); }
.differentials-grid article { padding: 30px 0; border-bottom: 1px solid var(--border-light); }
.differentials-grid span { color: var(--gold-dark); font-size: .75rem; letter-spacing: .15em; }
.differentials-grid h3 { margin: 18px 0 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.differentials-grid p { margin: 0; color: var(--gray-dark); }
.principles { position: relative; overflow: hidden; background: var(--charcoal); color: var(--white); }
.principles::before { content: "IG"; position: absolute; right: -30px; bottom: -105px; color: rgba(201,169,97,.05); font-family: var(--serif); font-size: min(70vw, 620px); line-height: 1; }
.principles-inner { position: relative; z-index: 1; }
.principles h2 { max-width: 980px; }
.principles p:last-child { max-width: 690px; margin: 28px 0 0; color: #bdbdbd; }

/* Contact */
.contact { background: var(--black); color: var(--white); }
.contact-grid { display: grid; max-width: 980px; }
.contact-copy h2 { color: var(--white); }
.contact-copy > p { max-width: 680px; color: #bdbdbd; }
.contact-list { margin: 38px 0; padding: 0; list-style: none; border-top: 1px solid var(--border-dark); }
.contact-list li { display: grid; gap: 7px; padding: 20px 0; border-bottom: 1px solid var(--border-dark); }
.contact-list span { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-list a { display: inline-flex; align-items: center; min-height: 48px; color: var(--white); font-style: normal; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions .button { width: 100%; }
.contact-note { margin: 18px 0 0; color: #8f8f8f !important; font-size: .75rem; }

/* FAQ and map */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: 16px; }
.accordion details { border-top: 1px solid var(--border-light); }
.accordion details:last-child { border-bottom: 1px solid var(--border-light); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px 0;
  cursor: pointer; font-family: var(--serif); font-size: 1.18rem; line-height: 1.3; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--gold-dark); font-family: var(--sans); font-size: 1.5rem; transition: transform .25s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 680px; margin: -4px 45px 24px 0; color: var(--gray-dark); }
.location { position: relative; height: 360px; background: #ddd; }
.location iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.92); }
.location > a { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; background: var(--black); color: var(--white); font-weight: 700; }
.location > a span { color: var(--gold); }

/* Footer */
.site-footer { background: var(--black); color: var(--white); }
.footer-main { display: grid; gap: 34px; padding-block: 58px; }
.footer-brand { display: block; width: 180px; height: 190px; overflow: hidden; }
.footer-brand img { width: 100%; height: 100%; object-fit: cover; }
.footer-main strong { display: block; margin-bottom: 14px; color: var(--gold); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav, .footer-contact, .footer-social { display: grid; align-content: start; gap: 8px; }
.footer-nav a, .footer-contact a, .footer-social a { min-height: 48px; display: inline-flex; align-items: center; color: #d0d0d0; }
.footer-contact address { color: #9e9e9e; font-style: normal; }
.footer-social span { color: var(--gold); }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; padding-block: 24px; border-top: 1px solid var(--border-dark); color: #8f8f8f; font-size: .75rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 48px; color: #c5c5c5; text-decoration: underline; }

/* Floating WhatsApp and cookies */
.whatsapp-float {
  position: fixed; z-index: 900; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 52px; height: 52px; padding: 0 14px;
  border-radius: 999px; background: #128c4b; color: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.28); font-size: .82rem; font-weight: 800;
}
.whatsapp-float svg { width: 25px; height: 25px; fill: currentColor; }
.whatsapp-float span { display: none; }
.cookie-banner {
  position: fixed; z-index: 1500; right: 12px; bottom: 84px; left: 12px; padding: 20px; border: 1px solid rgba(201,169,97,.5);
  background: #171717; color: var(--white); box-shadow: 0 24px 60px rgba(0,0,0,.38);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.cookie-banner p { margin: 8px 0 0; color: #bdbdbd; font-size: .8rem; line-height: 1.55; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; flex-direction: column-reverse; gap: 8px; margin-top: 16px; }
.cookie-actions button { min-height: 48px; padding: 10px 14px; border: 1px solid var(--gold); background: transparent; color: var(--white); cursor: pointer; }
.cookie-actions .cookie-accept { background: var(--gold); color: var(--black); font-weight: 800; }
.noscript { position: fixed; z-index: 2000; right: 0; bottom: 0; left: 0; padding: 12px 20px; background: #fff2c7; color: #111; text-align: center; }

/* Privacy page */
.legal-page { background: var(--paper); color: var(--charcoal); }
.legal-page .site-header { position: sticky; }
.legal-back { display: inline-flex; align-items: center; min-height: 48px; color: var(--gold-light); font-weight: 700; }
.legal-content { max-width: 820px; padding-block: 82px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-update { color: var(--gray-dark); }
.legal-content h2 { margin: 46px 0 10px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }
.legal-notice { margin-top: 44px; padding: 20px; border-left: 2px solid var(--gold); background: var(--white); }

/* 480px */
@media (min-width: 480px) {
  .container { width: min(calc(100% - 56px), var(--container)); }
  .hero-actions { display: flex; align-items: center; }
  .text-link { padding-inline: 14px; }
  .whatsapp-float { min-width: 56px; height: 56px; padding-inline: 17px; }
  .whatsapp-float span { display: inline; }
  .cookie-actions { flex-direction: row; justify-content: flex-end; }
  .contact-actions { display: flex; flex-wrap: wrap; }
  .contact-actions .button { width: auto; min-width: 210px; }
}

/* 768px */
@media (min-width: 768px) {
  :root { --header-height: 84px; }
  .brand { height: 74px; }
  .brand img { flex-basis: 56px; width: 56px; height: 56px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { display: block; }
  .hero { min-height: 700px; padding-bottom: 52px; }
  .hero-content { padding-right: 24%; }
  .hero-signature { display: block; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid > div { min-height: 0; padding: 22px 24px; border-right: 1px solid rgba(10,10,10,.22); border-bottom: 0; }
  .trust-grid > div:first-child { padding-left: 0; }
  .trust-grid > div:last-child { border-right: 0; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-card-wide { grid-column: span 2; }
  .about-grid { grid-template-columns: minmax(300px,.9fr) 1.1fr; align-items: center; gap: clamp(50px,8vw,110px); }
  .about-copy { padding-block: 30px; }
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
  .differentials-grid article { padding: 34px; border-right: 1px solid var(--border-light); }
  .differentials-grid article:nth-child(2n) { border-right: 0; }
  .contact-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .contact-list li { padding: 24px; border-right: 1px solid var(--border-dark); }
  .contact-list li:first-child { padding-left: 0; }
  .contact-list li:last-child { padding-right: 0; border-right: 0; }
  .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 70px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .footer-social { grid-column: 2; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner { right: 24px; bottom: 24px; left: auto; width: min(520px, calc(100% - 48px)); }
}

/* 1024px */
@media (min-width: 1024px) {
  .menu-toggle, .mobile-menu { display: none; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); color: #d8d8d8; font-size: .82rem; font-weight: 700; }
  .desktop-nav > a:not(.nav-cta) { position: relative; display: inline-flex; align-items: center; min-height: 48px; }
  .desktop-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: 8px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
  .desktop-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--gold); color: var(--gold-light); }
  .hero { min-height: 760px; align-items: center; padding-top: calc(var(--header-height) + 40px); }
  .hero-media img { object-position: 72% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,5,5,.97) 0%, rgba(5,5,5,.79) 43%, rgba(5,5,5,.18) 78%), linear-gradient(0deg, rgba(5,5,5,.55), transparent 40%); }
  .hero h1 { font-size: clamp(4.5rem, 7vw, 7.4rem); }
  .hero-content { padding-right: 36%; }
  .split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
  .split-heading > p:last-child { margin: 0; }
  .areas-grid { grid-template-columns: repeat(6, 1fr); }
  .area-card { grid-column: span 2; }
  .area-card-wide { grid-column: span 4; min-height: 300px; }
  .areas-grid .area-card:nth-child(4) { grid-column: span 2; }
  .centered { max-width: 850px; margin-inline: auto; text-align: center; }
  .centered > p:last-child { margin-inline: auto; }
  .differentials-grid { grid-template-columns: repeat(4, 1fr); }
  .differentials-grid article { border-right: 1px solid var(--border-light); }
  .differentials-grid article:nth-child(2n) { border-right: 1px solid var(--border-light); }
  .differentials-grid article:last-child { border-right: 0; }
  .contact-grid { max-width: 1080px; }
  .footer-main { grid-template-columns: 1.8fr .9fr 1.2fr .8fr; }
  .footer-social { grid-column: auto; }
}

/* 1440px */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
  .hero { min-height: 880px; }
  .hero h1 { font-size: 7.4rem; }
  .hero-content { padding-right: 42%; }
  .area-card { padding: 38px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-menu, .whatsapp-float, .cookie-banner, .hero-media, .location { display: none !important; }
  body, .hero, .about, .contact, .site-footer { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 40px 0; }
}
