:root {
  --bg: #0a0c0d;
  --bg-2: #101315;
  --panel: #14181a;
  --text: #f3eee6;
  --muted: #aaa39a;
  --bronze: #b57d52;
  --bronze-light: #d6ae86;
  --bronze-dark: #74482f;
  --line: rgba(214, 174, 134, .26);
  --line-soft: rgba(255,255,255,.08);
  --shadow: 0 28px 75px rgba(0,0,0,.38);
  --radius-lg: 30px;
  --radius-md: 20px;
  --header: 82px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 22px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(181,125,82,.14), transparent 30rem),
    radial-gradient(circle at 85% 42%, rgba(214,174,134,.07), transparent 32rem),
    linear-gradient(180deg, #0b0d0e 0%, #0e1113 47%, #080a0b 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.card {
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset;
}

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 2000; }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--bronze-dark), var(--bronze-light)); }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(9,11,12,.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.brand > span, .footer-brand > span { display: grid; line-height: 1.05; gap: 5px; }
.brand strong, .footer-brand strong { font-size: .78rem; letter-spacing: .13em; }
.brand small, .footer-brand small { color: var(--bronze-light); font-size: .63rem; letter-spacing: .22em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; color: #d4cec5; font-size: .77rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--bronze-light); transition: right .25s ease; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a:hover, .nav a.active { color: #fff; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(255,255,255,.02); color: var(--text); cursor: pointer; }
.menu-button span { display: block; height: 1px; margin: 5px 0; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
body.menu-open .menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-button span:nth-child(2) { opacity: 0; }
body.menu-open .menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100vh - var(--header)); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 70px 70px; }
.hero-glow { position: absolute; right: -250px; top: -250px; width: 700px; height: 700px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(181,125,82,.22), transparent 68%); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(350px,.92fr); gap: clamp(50px,7vw,95px); align-items: center; padding: 82px 0 96px; }
.kicker { margin: 0 0 15px; color: var(--bronze-light); font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 790px; margin: 0; font-size: clamp(3.2rem,6.2vw,6.2rem); line-height: .97; letter-spacing: -.04em; }
h2 { margin: 0; font-size: clamp(2.5rem,4.5vw,4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.lead { max-width: 680px; margin: 26px 0 0; color: #c8c0b7; font-size: clamp(1.05rem,1.4vw,1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-size: .76rem; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #0a0a0a; background: linear-gradient(135deg, #dfba94, var(--bronze)); box-shadow: 0 12px 35px rgba(181,125,82,.18); }
.btn-outline { border-color: var(--line); background: rgba(255,255,255,.025); }
.btn-full { width: 100%; }
.highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 40px; }
.highlights article { min-height: 105px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(255,255,255,.025); }
.highlights strong { font-size: 1.05rem; }
.highlights span { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.hero-logo-card { position: relative; width: min(100%,470px); margin-left: auto; padding: 16px 16px 74px; border: 1px solid var(--line); border-radius: 36px 36px 36px 14px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: var(--shadow); }
.logo-frame { overflow: hidden; border-radius: 26px 26px 26px 8px; border: 1px solid rgba(255,255,255,.08); background: #111; }
.logo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.logo-caption { position: absolute; left: 30px; right: 30px; bottom: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.logo-caption span { font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.logo-caption small { color: var(--bronze-light); font-size: .62rem; letter-spacing: .2em; white-space: nowrap; }

.section-title { max-width: 850px; margin-bottom: 42px; }
.section-title-center { margin-inline: auto; text-align: center; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.intro-copy { display: grid; align-items: center; padding: clamp(30px,5vw,56px); border-radius: var(--radius-lg); }
.intro-copy p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem,3vw,3rem); line-height: 1.24; }
.intro-copy strong { color: var(--bronze-light); font-weight: 500; }
.stats { display: grid; gap: 12px; }
.stat { min-height: 132px; display: grid; align-content: center; padding: 24px 28px; border-radius: var(--radius-md); }
.stat strong { color: var(--bronze-light); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3.1rem); font-weight: 500; line-height: 1; }
.stat span { margin-top: 8px; color: var(--muted); font-size: .86rem; }

.section-service { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,.012); }
.service-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 20px; }
.service-main, .guarantee { padding: clamp(34px,5vw,58px); border-radius: var(--radius-lg); }
.service-main h2 { max-width: 850px; font-size: clamp(2.5rem,4.7vw,4.7rem); }
.service-main > p:not(.kicker) { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips span { padding: 9px 12px; border: 1px solid var(--line-soft); border-radius: 999px; color: #cec6bc; background: rgba(255,255,255,.018); font-size: .75rem; }
.guarantee { position: relative; overflow: hidden; background: linear-gradient(150deg, rgba(181,125,82,.17), rgba(255,255,255,.02)); }
.guarantee::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -85px; border: 1px solid rgba(214,174,134,.18); border-radius: 50%; }
.guarantee h3 { margin: 0; font-size: clamp(2rem,3.1vw,3rem); line-height: 1.03; }
.metal-line { width: 72px; height: 1px; margin: 28px 0; background: linear-gradient(90deg, var(--bronze-dark), var(--bronze-light)); }
.guarantee-main { margin: 0; color: #d8d0c6; font-size: clamp(1.3rem,2.3vw,2rem); }
.guarantee-main strong { color: var(--bronze-light); font-size: 1.55em; font-weight: 600; }
.guarantee-bottom { margin: 28px 0 0; color: var(--muted); font-size: .86rem; }

.director { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 34px; align-items: center; padding: clamp(34px,5vw,58px); border-radius: var(--radius-lg); overflow: hidden; }
.director-mark { align-self: start; color: rgba(214,174,134,.34); font-family: Georgia, "Times New Roman", serif; font-size: 4rem; line-height: 1; }
.credential { margin: 13px 0 0; color: var(--bronze-light); letter-spacing: .12em; }
.director-lines { margin-top: 28px; }
.director-lines p { margin: 8px 0; color: #c4bdb4; }
.experience-seal { width: 170px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 10px rgba(255,255,255,.016); }
.experience-seal strong { font-family: Georgia, "Times New Roman", serif; font-size: 3.1rem; font-weight: 500; line-height: .9; }
.experience-seal span { margin-top: 10px; color: var(--bronze-light); font-size: .58rem; letter-spacing: .16em; }
.experience-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 22px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--line-soft); }
.experience-strip article { padding: 27px; background: var(--bg-2); }
.experience-strip strong { display: block; font-size: 1.05rem; }
.experience-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: .82rem; }

.team-section { border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, #101315, #0b0d0e); }
.team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.team-card { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border-radius: var(--radius-md); transition: transform .25s ease, border-color .25s ease; }
.team-card:hover { transform: translateY(-4px); border-color: var(--line); }
.team-featured { background: linear-gradient(145deg, rgba(181,125,82,.13), rgba(255,255,255,.018)); }
.team-index { position: absolute; top: 22px; right: 25px; color: rgba(214,174,134,.42); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.team-role { margin: 0 0 7px !important; color: var(--bronze-light) !important; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.team-card h3 { max-width: 440px; margin: 0; font-size: clamp(1.65rem,2.4vw,2.35rem); line-height: 1.12; }
.team-card p { margin: 7px 0 0; color: var(--muted); }

.coverage-section { border-top: 1px solid var(--line-soft); overflow: hidden; }
.coverage-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; }
.coverage-text { margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.email-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; padding-bottom: 6px; color: var(--bronze-light); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.coverage-orbit { position: relative; min-height: 360px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(214,174,134,.18); border-radius: 50%; }
.orbit-one { width: 285px; aspect-ratio: 1; }
.orbit-two { width: 360px; aspect-ratio: 1; border-style: dashed; animation: spin 28s linear infinite; }
.orbit-core { position: relative; z-index: 2; width: 180px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(181,125,82,.18), #101315 70%); box-shadow: 0 0 80px rgba(181,125,82,.1); }
.orbit-core small { color: var(--muted); font-size: .66rem; letter-spacing: .2em; }
.orbit-core strong { color: var(--bronze-light); font-size: 1rem; letter-spacing: .12em; }
@keyframes spin { to { transform: rotate(360deg); } }

.offices-section { padding-top: 0; }
.offices { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; padding: clamp(34px,5vw,58px); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,255,255,.025), rgba(181,125,82,.075)); }
.offices h2 { max-width: 820px; font-size: clamp(2.3rem,4vw,4rem); }
.offices p:not(.kicker) { margin: 17px 0 0; color: var(--muted); }
.monogram { width: 140px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 24px; color: var(--bronze-light); font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; transform: rotate(3deg); }

.contact-section { border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, #0d1011, #080a0b); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,8vw,100px); align-items: center; }
.contact-copy h2 { font-size: clamp(3rem,5.8vw,5.6rem); }
.contact-copy > p:not(.kicker) { margin: 20px 0 0; color: var(--muted); }
.contact-card { padding: clamp(30px,5vw,50px); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(181,125,82,.12), rgba(255,255,255,.02)); }
.contact-label { color: var(--muted); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-email { display: block; margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem,2.3vw,2.1rem); line-height: 1.2; overflow-wrap: anywhere; }
.contact-card .chips { margin-block: 29px; }

.footer { border-top: 1px solid var(--line-soft); background: #07090a; }
.footer-grid { min-height: 148px; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.footer-data { color: var(--muted); font-size: .8rem; }
.footer-data p { margin: 0 0 3px; }
.footer-data a { color: #c9c1b8; overflow-wrap: anywhere; }
.top-link { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; color: var(--bronze-light); }

/* Las animaciones son decorativas: el contenido permanece visible incluso si JavaScript no carga. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise .65s ease both; }
  .hero-logo-card { animation: rise .78s .08s ease both; }
  @keyframes rise { from { transform: translateY(18px); } to { transform: translateY(0); } }
}

@media (max-width: 980px) {
  :root { --header: 76px; }
  .hero { min-height: auto; }
  .hero-grid, .intro-grid, .service-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 68px 0 90px; }
  .hero-logo-card { width: min(100%,560px); margin-inline: auto; }
  .stats { grid-template-columns: repeat(3,1fr); }
  .stat { min-height: 150px; }
  .director { grid-template-columns: auto 1fr; }
  .experience-seal { grid-column: 2; width: 145px; }
  .coverage-orbit { min-height: 320px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .menu-button { display: inline-block; }
  .nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 14px 24px; background: rgba(9,11,12,.98); border-bottom: 1px solid var(--line-soft); }
  body.menu-open .nav { display: flex; }
  .nav a { padding: 13px 10px; }
  .nav a::after { display: none; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: .69rem; }
  .brand small { font-size: .58rem; }
  .hero-grid { gap: 46px; padding: 58px 0 84px; }
  h1 { font-size: clamp(2.9rem,14vw,4.7rem); }
  .highlights, .stats, .experience-strip, .team-grid { grid-template-columns: 1fr; }
  .highlights article { min-height: 82px; }
  .section { padding: 76px 0; }
  .director { grid-template-columns: 1fr; gap: 18px; }
  .director-mark { font-size: 3rem; }
  .experience-seal { grid-column: auto; width: 135px; }
  .offices { grid-template-columns: 1fr; }
  .monogram { width: 112px; }
  .footer-grid { grid-template-columns: 1fr auto; padding: 28px 0; }
  .footer-data { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  h1 { font-size: clamp(2.7rem,14vw,3.9rem); }
  h2 { font-size: clamp(2.2rem,11vw,3.5rem); }
  .hero-logo-card { padding: 10px 10px 70px; border-radius: 28px 28px 28px 12px; }
  .logo-frame { border-radius: 20px 20px 20px 7px; }
  .logo-caption { left: 20px; right: 20px; gap: 10px; }
  .service-main, .guarantee, .director, .offices, .contact-card, .intro-copy { padding: 28px 22px; }
  .orbit-two { width: 300px; }
  .orbit-one { width: 240px; }
}

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