@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --black: #050505;
  --black-soft: #0c0909;
  --scarlet: #8f1720;
  --scarlet-bright: #c12631;
  --scarlet-dark: #4d0b10;
  --gold: #f4c95d;
  --gold-bright: #ffe59a;
  --gold-deep: #9a6d13;
  --cream: #fff5dc;
  --muted: #c8bca5;
  --line: rgba(244, 201, 93, 0.27);
  --panel: rgba(12, 8, 8, 0.88);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background: var(--black);
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(0,0,0,.54) 0%, rgba(0,0,0,.22) 33%, rgba(0,0,0,.68) 78%, #050505 100%),
    url("/imagenes%20de%20servicios/IMAGEN%206.png") center top / cover no-repeat;
  opacity: .58;
}
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  left: 50%;
  top: -70px;
  width: min(900px, 95vw);
  height: 700px;
  transform: translateX(-50%);
  clip-path: polygon(43% 0, 57% 0, 96% 100%, 4% 100%);
  background: linear-gradient(180deg, rgba(255,229,154,.22), rgba(244,201,93,.07) 58%, transparent);
  filter: blur(12px);
  pointer-events: none;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 1000; padding: .7rem 1rem; background: var(--gold); color: #120d05; font-weight: 800; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.seo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #650e15, #9f1a24 48%, #650e15);
  border-bottom: 1px solid rgba(255,229,154,.35);
  box-shadow: 0 10px 35px rgba(0,0,0,.35);
}
.seo-nav { width: min(1180px, calc(100% - 36px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.seo-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.seo-brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 20px rgba(255,207,89,.55); }
.seo-brand strong { display: block; font-size: .86rem; letter-spacing: .16em; }
.seo-brand span { display: block; color: #f8dba0; font-size: .7rem; letter-spacing: .08em; }
.seo-links { display: flex; align-items: center; gap: 24px; }
.seo-links a { color: #fff8e6; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.seo-links a:hover { color: var(--gold-bright); }
.language-link { padding: .5rem .7rem; border: 1px solid rgba(255,229,154,.55); border-radius: 999px; }
.menu-button { display: none; border: 1px solid rgba(255,229,154,.55); background: rgba(0,0,0,.25); color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; }

.page-shell { width: min(1160px, calc(100% - 36px)); margin: auto; }
.breadcrumbs { padding: 1.1rem 0 0; color: #d5c39f; font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--gold-deep); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-bright); }

.service-hero { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(48px, 7vw, 96px); padding: clamp(70px, 10vw, 130px) 0 90px; }
.hero-copy { max-width: 690px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-bright); font-weight: 700; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
h1, h2, h3 { line-height: 1.13; margin-top: 0; }
h1 { margin: 1.2rem 0 1.25rem; font-size: clamp(2.75rem, 6vw, 5.6rem); font-weight: 800; letter-spacing: -.055em; color: var(--cream); }
h1 em { display: block; color: var(--gold); font-style: normal; text-shadow: 0 0 22px rgba(244,201,93,.25); }
.hero-lead { max-width: 640px; color: #e8decb; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.hero-points li { padding: .5rem .8rem; border: 1px solid rgba(244,201,93,.25); background: rgba(0,0,0,.35); border-radius: 999px; color: #ead8b3; font-size: .78rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.gold-button, .ghost-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .85rem 1.25rem; border-radius: 6px; text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.gold-button { color: #160e03; background: linear-gradient(135deg, #fff0b4, #e9b83f); box-shadow: 0 12px 34px rgba(210,154,34,.22); }
.ghost-button { border: 1px solid rgba(244,201,93,.42); background: rgba(0,0,0,.3); color: var(--cream); }
.gold-button:hover, .ghost-button:hover { transform: translateY(-2px); }
.gold-button:hover { box-shadow: 0 18px 38px rgba(210,154,34,.32); }
.hero-visual { position: relative; max-width: 480px; justify-self: end; }
.hero-visual::before { content: ""; position: absolute; inset: -18px; border: 1px solid rgba(244,201,93,.32); border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px; box-shadow: 0 0 40px rgba(146,19,28,.33); }
.hero-visual::after { content: ""; position: absolute; inset: auto -8% -8% -8%; height: 45%; background: linear-gradient(0deg, rgba(89,10,16,.95), transparent); filter: blur(8px); border-radius: 50%; }
.hero-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px; filter: saturate(.92) contrast(1.03); box-shadow: var(--shadow); }
.hero-seal { position: absolute; z-index: 3; left: -42px; bottom: 46px; width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #8e1720; border: 1px solid var(--gold); box-shadow: 0 12px 35px rgba(0,0,0,.45); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-seal strong { color: var(--gold-bright); font-size: 1.2rem; }

.content-section { padding: clamp(72px, 9vw, 118px) 0; }
.content-section.dark { position: relative; background: rgba(0,0,0,.38); border-block: 1px solid rgba(244,201,93,.12); }
.section-heading { max-width: 780px; margin-bottom: 2.6rem; }
.section-heading h2 { margin: .85rem 0 1rem; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.04em; }
.section-heading p { color: var(--muted); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose p { color: #dfd3bd; margin: 0 0 1.2rem; }
.arch-panel { padding: clamp(30px, 5vw, 58px); background: linear-gradient(155deg, rgba(108,14,22,.85), rgba(12,7,7,.94) 55%); border: 1px solid rgba(244,201,93,.32); border-radius: 180px 180px 14px 14px / 90px 90px 14px 14px; box-shadow: var(--shadow); }
.arch-panel h2, .arch-panel h3 { color: var(--gold-bright); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.check-list li { position: relative; padding-left: 1.6rem; color: #eadfca; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.process-grid, .service-grid, .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card, .service-tile, .related-card { position: relative; min-height: 230px; padding: 28px; overflow: hidden; background: linear-gradient(160deg, rgba(24,15,14,.96), rgba(8,6,6,.96)); border: 1px solid rgba(244,201,93,.23); border-radius: 110px 110px 12px 12px / 54px 54px 12px 12px; }
.process-card span { display: inline-grid; place-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--scarlet); color: var(--gold-bright); font-weight: 800; }
.process-card h3, .service-tile h2, .service-tile h3, .related-card h3 { margin: 1.1rem 0 .65rem; color: var(--gold-bright); font-size: 1.1rem; }
.process-card p, .service-tile p, .related-card p { color: var(--muted); font-size: .9rem; }
.service-tile { min-height: 420px; display: flex; flex-direction: column; justify-content: end; text-decoration: none; background-size: cover; background-position: center; }
.service-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 12%, rgba(83,9,16,.45) 48%, rgba(6,4,4,.98) 88%); }
.service-tile > * { position: relative; z-index: 1; }
.service-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-tile { transition: transform .22s ease, border-color .22s ease; }
.tile-link { color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.faq-list { max-width: 900px; display: grid; gap: 12px; }
details { border: 1px solid rgba(244,201,93,.2); background: rgba(8,6,6,.78); border-radius: 8px; }
summary { cursor: pointer; padding: 1.2rem 1.35rem; color: var(--gold-bright); font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--scarlet-bright); font-size: 1.25rem; }
details[open] summary::after { content: "−"; }
details p { padding: 0 1.35rem 1.25rem; color: var(--muted); margin: 0; }
.cta-band { margin: 30px auto 100px; padding: clamp(38px, 6vw, 72px); text-align: center; background: linear-gradient(135deg, rgba(113,13,21,.95), rgba(29,7,8,.96)); border: 1px solid rgba(244,201,93,.42); border-radius: 160px 160px 16px 16px / 70px 70px 16px 16px; box-shadow: var(--shadow); }
.cta-band h2 { max-width: 780px; margin: 0 auto 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-band p { max-width: 700px; margin: 0 auto 1.7rem; color: #eadbc1; }

.seo-footer { background: #230609; border-top: 1px solid rgba(244,201,93,.24); padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-grid h2, .footer-grid h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-bright); }
.footer-grid p, .footer-grid a { color: #d4c5aa; font-size: .82rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 34px; border-top: 1px solid rgba(244,201,93,.18); color: #b8a98e; font-size: .72rem; }
.floating-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: .75rem 1rem; border-radius: 999px; color: #130d04; background: linear-gradient(135deg, #ffe8a2, #e4ad2e); text-decoration: none; font-size: .76rem; font-weight: 800; box-shadow: 0 14px 38px rgba(0,0,0,.42); }
.floating-wa svg { width: 23px; height: 23px; fill: #1f7a3c; }
.privacy-copy { max-width: 850px; }
.privacy-copy h2 { margin-top: 2.5rem; color: var(--gold-bright); }
.privacy-copy li, .privacy-copy p { color: #ddd0b9; }
.notice { padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: rgba(115,15,23,.28); color: #eadfc9; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-content: center; }
  .seo-links { position: absolute; left: 18px; right: 18px; top: calc(100% + 8px); display: none; flex-direction: column; align-items: stretch; padding: 22px; background: #670e15; border: 1px solid rgba(244,201,93,.34); box-shadow: var(--shadow); }
  .seo-links.open { display: flex; }
  .service-hero, .two-column { grid-template-columns: 1fr; }
  .service-hero { padding-top: 70px; }
  .hero-visual { justify-self: center; margin-top: 20px; }
  .process-grid, .service-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .seo-nav, .page-shell { width: min(100% - 24px, 1160px); }
  .seo-brand span { display: none; }
  .service-hero { min-height: auto; padding: 54px 0 72px; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .hero-seal { left: -8px; width: 96px; height: 96px; }
  .process-grid, .service-grid, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 370px; }
  .footer-bottom { flex-direction: column; }
  .floating-wa span { display: none; }
  .floating-wa { width: 54px; height: 54px; justify-content: center; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
