:root {
  --cream: #fdf4eb;
  --cream-deep: #f4e7d8;
  --paper: #fffaf5;
  --sand: #e7ceb0;
  --sand-deep: #c9a884;
  --brown: #4c3c2d;
  --brown-light: #786049;
  --ink: #17130f;
  --muted: #6c6257;
  --line: rgba(76, 60, 45, .17);
  --dark: #191510;
  --serif: 'Bodoni MT', 'Didot', 'Times New Roman', Georgia, serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
  --header-h: 92px;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body { margin: 0; min-width: 320px; font-family: var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--brown); color: var(--cream); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 12px 18px; transform: translateY(-160%); background: var(--brown); color: white; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--sand-deep); outline-offset: 5px; }
.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-h); background: var(--cream); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 12px 35px rgba(37, 24, 12, .08); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; max-width: min(330px, 37vw); }
.brand img { width: 310px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 42px); }
.nav-link { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .03em; padding: 35px 0; color: var(--muted); transition: color .2s; }
.nav-link::after { position: absolute; bottom: 25px; left: 0; width: 100%; height: 2px; background: var(--brown); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--brown); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; gap: 10px; align-items: center; padding: 15px 18px; background: var(--brown); color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: .025em; border-radius: 2px; transition: background .2s ease, transform .2s ease; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-phone:hover { background: #70553e; transform: translateY(-2px); }
.menu-toggle { display: none; }

/* Inicio */
.hero { display: grid; grid-template-columns: minmax(0, 52%) minmax(0, 48%); min-height: 665px; background: var(--cream); }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 75px min(6vw, 100px) 60px max(44px, calc((100vw - var(--max)) / 2)); overflow: hidden; }
.hero-copy::before { content: ''; position: absolute; width: 405px; height: 405px; left: -230px; top: -250px; border-radius: 50%; border: 1px solid rgba(76, 60, 45, .12); pointer-events: none; }
.hero-copy-inner { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 13px; font-size: 11px; letter-spacing: .23em; font-weight: 800; color: var(--brown); margin: 0 0 23px; }
.eyebrow-line { display: inline-block; flex: 0 0 25px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(72px, 7.1vw, 118px); font-weight: 400; line-height: .9; letter-spacing: -.068em; white-space: nowrap; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero-dot { color: var(--sand-deep); }
.rule-decor { display: flex; align-items: center; gap: 12px; max-width: 315px; margin: 34px 0 22px; }
.rule-decor span:first-child { flex: 1; height: 1px; background: var(--line); }
.rule-decor span:last-child { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--brown); }
.hero-description { margin: 0; max-width: 435px; color: #62594f; font-size: clamp(16px, 1.65vw, 20px); line-height: 1.7; font-weight: 400; }
.hero-description strong { color: var(--brown); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 19px 24px; min-height: 56px; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: background .2s, transform .2s, box-shadow .2s; }
.button svg { width: 21px; height: 21px; }
.button-dark { background: var(--brown); color: var(--cream); }
.button-dark:hover { background: #67503a; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(76, 60, 45, .19); }
.hero-call { display: inline-flex; gap: 12px; align-items: center; }
.round-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--brown); border-radius: 50%; color: var(--brown); transition: background .2s, color .2s; }
.round-icon svg { width: 19px; height: 19px; }
.hero-call:hover .round-icon { background: var(--brown); color: var(--cream); }
.hero-call small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .16em; font-weight: 800; margin-bottom: 5px; }
.hero-call strong { display: block; font-weight: 800; color: var(--brown); font-size: 14px; white-space: nowrap; }
.hero-copy-foot { position: absolute; bottom: 27px; left: max(44px, calc((100vw - var(--max)) / 2)); right: 34px; display: flex; align-items: center; justify-content: space-between; color: rgba(76, 60, 45, .55); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.plus-sign { font-size: 23px; font-weight: 300; line-height: 1; }
.hero-art { position: relative; overflow: hidden; min-height: 665px; background: radial-gradient(circle at 48% 43%, #3f3227 0%, #281f18 45%, #1b1713 84%); color: var(--sand); }
.hero-art::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(231, 206, 176, .18); pointer-events: none; }
.hero-art::after { content: ''; position: absolute; width: 56%; aspect-ratio: 1; top: -26%; right: -22%; border: 1px solid rgba(231, 206, 176, .13); border-radius: 50%; pointer-events: none; }
.art-top, .art-bottom { position: absolute; left: 42px; right: 42px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 10px; font-weight: 600; letter-spacing: .17em; color: #d6b996; }
.art-top { top: 40px; }
.art-asterisk { font-size: 19px; line-height: 1; }
.art-bottom { bottom: 42px; }
.art-bottom span:last-child { text-align: right; font-size: 9px; line-height: 1.6; }
.art-serial { font-family: var(--serif); font-size: 17px; letter-spacing: .12em; }
.art-svg { position: absolute; inset: 5% -4% 2%; width: 108%; height: 94%; object-fit: contain; filter: drop-shadow(0 10px 25px rgba(0,0,0,.12)); animation: artFloat 9s ease-in-out infinite; }
@keyframes artFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Franja de especialidades */
.specialty-strip { background: var(--brown); color: #f6e8d9; }
.specialty-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.strip-title { color: #d7b998; }
.strip-divider { width: 1px; height: 26px; background: rgba(255,255,255,.35); }
.strip-dot { width: 5px; height: 5px; flex: 0 0 5px; border: 1px solid #d7b998; transform: rotate(45deg); }

/* Servicios */
.section-pad { padding: 115px 0 130px; }
.services-section { background: #fffaf5; position: relative; }
.services-section::before { content: ''; width: 340px; height: 340px; position: absolute; top: 0; right: 0; border: 1px solid #f1e6da; border-radius: 0 0 0 100%; pointer-events: none; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 48px; position: relative; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6.2vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -.062em; }
.section-heading h2 em { font-weight: 400; }
.heading-period { color: #a78764; }
.heading-flourish { display: block; width: 83px; height: 83px; color: #b69777; margin-bottom: 2px; }
.heading-flourish svg { width: 100%; height: 100%; }
.feature-service { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 340px; background: var(--brown); color: var(--cream); overflow: hidden; }
.feature-service-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 34px 48px 42px; position: relative; }
.service-index { color: #ab9680; font-weight: 800; font-size: 11px; letter-spacing: .14em; }
.feature-service .service-index { color: #d6b996; }
.feature-service h3 { font: 400 clamp(42px, 4.5vw, 64px)/.98 var(--serif); letter-spacing: -.055em; margin: 0 0 20px; }
.feature-service h3 em { font-weight: 400; }
.feature-service p { margin: 0; color: #ead9c6; font-size: 16px; line-height: 1.6; }
.feature-corner { position: absolute; right: 30px; bottom: 27px; font-size: 29px; color: #b99570; font-weight: 200; }
.feature-service-visual { display: grid; place-items: center; background: radial-gradient(circle at center, #59432f 0%, #382a1f 66%, #30251b 100%); border-left: 1px solid rgba(239, 219, 192, .1); overflow: hidden; }
.feature-service-visual svg { width: min(100%, 520px); height: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.service-card { min-height: 260px; background: var(--cream); padding: 27px 29px 28px; display: flex; flex-direction: column; border: 1px solid #e5d9cd; position: relative; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; }
.service-card::after { content: ''; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(157, 126, 91, .13); pointer-events: none; }
.service-card:hover { transform: translateY(-7px); background: #fff5e9; border-color: #cdb69e; box-shadow: 0 18px 30px rgba(57, 38, 24, .08); }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.service-symbol { display: block; width: 66px; height: 66px; color: #7d6044; }
.service-symbol svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: auto 0 18px; padding-top: 21px; font: 400 clamp(26px, 2.4vw, 35px)/1.12 var(--serif); letter-spacing: -.035em; max-width: 260px; }
.card-bottom-line { height: 1px; width: 100%; display: block; background: linear-gradient(90deg, #9e8060 0 24%, rgba(76, 60, 45, .13) 24% 100%); }

/* Tipos */
.types-section { background: #e8d4bb; padding: 88px 0 96px; overflow: hidden; }
.types-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.types-header h2 { margin: 0; font: 400 clamp(42px, 5vw, 69px)/1.06 var(--serif); letter-spacing: -.055em; }
.types-header h2 em { font-weight: 400; }
.types-header .eyebrow { margin-bottom: 20px; }
.types-diagram svg { width: 100%; height: auto; max-height: 290px; }

/* Contacto */
.contact-section { position: relative; isolation: isolate; padding: 105px 0 118px; background: radial-gradient(circle at 95% 50%, #392c22 0%, #1b1713 60%); color: #fdf4eb; overflow: hidden; }
.contact-circuit { position: absolute; inset: 0 0 0 auto; width: 65%; height: 100%; z-index: -1; opacity: .9; }
.contact-circuit svg { width: 100%; height: 100%; }
.contact-content { position: relative; }
.eyebrow-light { color: #dcb991; }
.contact-content h2 { font: 400 clamp(66px, 9.2vw, 134px)/.91 var(--serif); letter-spacing: -.065em; margin: 25px 0 22px; }
.contact-content h2 em { font-weight: 400; }
.contact-period { color: #d2ac82; }
.contact-role { margin: 0; color: #d6b996; font-weight: 700; font-size: 13px; letter-spacing: .21em; }
.contact-action { margin-top: 53px; display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.contact-number { font-family: var(--serif); font-size: clamp(29px, 4vw, 54px); font-weight: 400; letter-spacing: -.022em; white-space: nowrap; transition: color .2s; }
.contact-number:hover { color: #d6b996; }
.contact-button { display: inline-flex; align-items: center; gap: 35px; padding: 19px 25px; background: #e7ceb0; color: var(--brown); font-weight: 800; font-size: 13px; transition: transform .2s, background .2s; }
.contact-button:hover { background: #f5e3ce; transform: translateY(-3px); }
.contact-button svg { width: 22px; height: 22px; }

/* Pie de página */
.site-footer { padding: 30px 0; background: var(--cream); border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 1px; }
.footer-brand img { width: 240px; height: auto; }
.footer-brand > span { padding-left: 2px; color: #6c5a49; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 600; }
.footer-links a:hover, .footer-number:hover { color: #9d7653; }
.footer-number { font-weight: 800; font-size: 13px; white-space: nowrap; }

/* Animaciones progresivas */
.js-enabled .reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
.js-enabled .service-card.reveal { transition-delay: calc(var(--order) * 55ms); }

@media (max-width: 1180px) {
  :root { --header-h: 82px; }
  .container { width: min(var(--max), calc(100% - 62px)); }
  .brand img { width: 260px; }
  .main-nav { gap: 20px; }
  .hero { min-height: 600px; }
  .hero-copy { padding-left: 36px; padding-right: 24px; }
  .hero-copy-foot { left: 36px; }
  .hero h1 { font-size: clamp(65px, 7.25vw, 93px); }
  .hero-art { min-height: 600px; }
  .hero-actions { gap: 18px; }
  .hero-call strong { font-size: 13px; }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { width: 225px; }
  .nav-link { font-size: 12px; }
  .nav-phone { font-size: 0; padding: 13px; }
  .nav-phone svg { width: 19px; height: 19px; }
  .hero { grid-template-columns: 54% 46%; min-height: 540px; }
  .hero-art { min-height: 540px; }
  .hero-copy { padding: 48px 20px 60px 31px; }
  .hero h1 { font-size: clamp(59px, 7.2vw, 75px); }
  .hero-description { font-size: 16px; }
  .hero-actions { margin-top: 28px; }
  .hero-copy-foot { left: 31px; }
  .art-top, .art-bottom { left: 24px; right: 24px; font-size: 9px; }
  .specialty-inner { gap: 14px; font-size: 9px; }
  .services-grid { gap: 13px; margin-top: 13px; }
  .service-card { padding: 23px 22px; min-height: 240px; }
  .service-card h3 { font-size: 29px; }
  .footer-brand img { width: 200px; }
  .footer-links { gap: 14px; }
}
@media (max-width: 700px) {
  :root { --header-h: 76px; }
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .brand { max-width: calc(100% - 70px); }
  .brand img { width: min(270px, 67vw); }
  .menu-toggle { display: flex; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; gap: 5px; flex-direction: column; z-index: 105; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 1.5px; background: var(--brown); transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 101; background: var(--cream); padding: 18px 20px 28px; box-shadow: 0 26px 40px rgba(27, 18, 11, .13); border-top: 1px solid var(--line); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 16px 5px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-link::after { bottom: -1px; width: 30px; }
  .nav-phone { width: 100%; justify-content: center; margin-top: 21px; padding: 17px; font-size: 14px; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 67px 26px 87px; }
  .hero-copy-foot { left: 26px; right: 26px; bottom: 23px; }
  .hero h1 { font-size: clamp(72px, 13vw, 102px); }
  .hero-description { max-width: 500px; font-size: 18px; }
  .hero-actions { margin-top: 29px; }
  .hero-art { min-height: 470px; }
  .art-svg { inset: 0% -1% 0%; height: 100%; width: 102%; }
  .art-top { top: 30px; }
  .art-bottom { bottom: 32px; }
  .specialty-inner { justify-content: center; gap: 14px; min-height: 62px; flex-wrap: wrap; padding-block: 14px; line-height: 1.45; }
  .strip-title, .strip-divider { display: none; }
  .section-pad { padding: 78px 0 86px; }
  .section-heading { margin-bottom: 29px; }
  .section-heading h2 { font-size: clamp(52px, 10vw, 76px); }
  .heading-flourish { display: none; }
  .feature-service { grid-template-columns: 1fr; }
  .feature-service-copy { padding: 30px; min-height: 270px; }
  .feature-service h3 { font-size: clamp(48px, 9vw, 66px); }
  .feature-service-visual { min-height: 180px; max-height: 220px; }
  .feature-service-visual svg { max-height: 270px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card { min-height: 226px; padding: 22px; }
  .service-card h3 { font-size: clamp(24px, 4vw, 32px); }
  .types-section { padding: 74px 0 62px; }
  .types-inner { grid-template-columns: 1fr; gap: 8px; }
  .types-header h2 { font-size: clamp(43px, 8.5vw, 65px); }
  .types-diagram { max-width: 410px; margin-inline: auto; width: 100%; }
  .contact-section { padding: 79px 0 90px; }
  .contact-circuit { width: 100%; opacity: .45; }
  .contact-content h2 { font-size: clamp(72px, 13.5vw, 105px); }
  .contact-action { gap: 24px; margin-top: 36px; }
  .contact-number { font-size: clamp(29px, 6.1vw, 42px); }
  .footer-inner { flex-wrap: wrap; gap: 24px 20px; }
  .footer-brand { flex: 1 1 100%; }
}
@media (max-width: 430px) {
  .hero-copy { padding: 63px 20px 81px; }
  .hero h1 { font-size: clamp(64px, 14.2vw, 76px); }
  .hero-copy-foot { left: 20px; right: 20px; font-size: 9px; }
  .hero-description { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .button { padding: 17px 20px; }
  .hero-art { min-height: 370px; }
  .art-top, .art-bottom { left: 25px; right: 25px; }
  .art-bottom span:last-child { font-size: 8px; }
  .specialty-inner { font-size: 9px; gap: 10px; }
  .section-heading h2 { font-size: 50px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .service-card h3 { font-size: 31px; }
  .feature-service-copy { padding: 25px; }
  .feature-service h3 { font-size: 50px; }
  .contact-content h2 { font-size: clamp(68px, 14.5vw, 86px); }
  .contact-number { font-size: clamp(28px, 7.5vw, 36px); }
  .footer-brand img { width: 245px; }
  .footer-links { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}
