:root { --burgundy: #5D1A2B; --burgundy-dark: #3A0F1A; --gold: #C9A961; --gold-light: #E8D5A9; --cream: #F8F4E9; --cream-dark: #E8DCC8; --charcoal: #2C2C2C; --gray-600: #4B5563; --gray-400: #9CA3AF; --white: #FFFFFF; --shadow: 0 8px 30px rgba(0,0,0,0.1); --shadow-hover: 0 16px 40px rgba(0,0,0,0.15); --radius: 12px; --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Libre Baskerville', serif; color: var(--charcoal); background: var(--cream); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; color: var(--burgundy-dark); line-height: 1.25; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--burgundy); color: var(--white); padding: 8px 16px; z-index: 9999; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(248,244,233,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-bottom: 1px solid var(--gold-light); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--burgundy-dark); letter-spacing: -0.5px; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 1rem; transition: var(--transition); color: var(--charcoal); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--burgundy); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.btn-nav { background: var(--burgundy); color: var(--white) !important; padding: 10px 26px; border-radius: 50px; font-weight: 600; box-shadow: 0 4px 14px rgba(93,26,43,0.3); font-family: 'Libre Baskerville', serif; }
.btn-nav:hover { background: var(--burgundy-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(93,26,43,0.4); }
.btn-nav::after { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: var(--burgundy-dark); transition: var(--transition); border-radius: 2px; }

.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%); color: var(--white); position: relative; overflow: hidden; padding: 110px 24px 70px; text-align: center; }
.hero::before { content: ''; position: absolute; width: 750px; height: 750px; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); top: -280px; right: -180px; opacity: 0.1; animation: pulse 12s infinite alternate; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.1; } 100% { transform: scale(1.2); opacity: 0.16; } }
.hero-content { position: relative; z-index: 2; max-width: 880px; margin-bottom: 45px; }
.tagline { color: var(--gold-light); font-weight: 600; letter-spacing: 3px; margin-bottom: 22px; font-size: 0.9rem; text-transform: uppercase; font-family: 'Libre Baskerville', serif; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 5.5rem); margin-bottom: 30px; color: var(--white); font-weight: 700; }
.text-gold { color: var(--gold-light); }
.hero p:last-child { font-size: 1.35rem; opacity: 0.96; margin-bottom: 42px; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 0.92rem; opacity: 0.92; font-family: 'Libre Baskerville', serif; }
.hero-badges span { background: rgba(255,255,255,0.12); padding: 7px 16px; border-radius: 50px; backdrop-filter: blur(4px); border: 1px solid rgba(201,169,97,0.3); }
.hero-visual { position: relative; z-index: 2; width: 100%; max-width: 520px; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.btn { display: inline-block; padding: 16px 36px; border-radius: 10px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); font-family: 'Libre Baskerville', serif; text-align: center; font-size: 1.05rem; }
.btn-primary { background: var(--gold); color: var(--burgundy-dark); box-shadow: 0 4px 16px rgba(201,169,97,0.4); }
.btn-primary:hover { background: #B8942B; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(201,169,97,0.5); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--burgundy-dark); }
.btn-large { padding: 20px 44px; font-size: 1.15rem; }
.btn-full { width: 100%; }

.section { padding: 110px 0; }
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 22px; color: var(--burgundy-dark); position: relative; }
.section-title::after { content: ''; display: block; width: 75px; height: 3px; background: var(--gold); margin: 20px auto 0; border-radius: 2px; }
.section-subtitle { text-align: center; font-size: 1.2rem; color: var(--gray-600); margin-bottom: 58px; max-width: 700px; margin-left: auto; margin-right: auto; font-style: italic; }
.animate { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 34px; }

.card { background: var(--white); padding: 40px 32px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border-top: 4px solid transparent; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--burgundy), var(--gold)); opacity: 0; transition: opacity 0.3s; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.8rem; margin-bottom: 24px; }
.card h3 { font-size: 1.4rem; margin-bottom: 16px; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.card p { color: var(--gray-600); font-size: 1rem; margin-bottom: 20px; }
.card-link { display: inline-block; color: var(--burgundy); font-weight: 600; font-size: 0.98rem; transition: var(--transition); }
.card-link:hover { color: var(--gold); }

.proceso { background: var(--white); }
.steps-horizontal { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; position: relative; }
.steps-horizontal::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: var(--gold-light); z-index: 0; display: none; }
@media (min-width: 900px) { .steps-horizontal::before { display: block; } }
.step { background: var(--cream); padding: 34px 26px; border-radius: var(--radius); text-align: center; position: relative; z-index: 1; border: 2px solid transparent; transition: var(--transition); }
.step:hover { border-color: var(--gold); background: var(--white); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--burgundy); color: var(--white); border-radius: 50%; font-weight: 700; font-size: 1.4rem; margin-bottom: 20px; box-shadow: 0 4px 14px rgba(93,26,43,0.3); font-family: 'Cormorant Garamond', serif; }
.step h4 { font-size: 1.22rem; margin-bottom: 14px; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.step p { font-size: 0.98rem; color: var(--gray-600); }

.categorias { background: var(--cream); }

.faq { background: var(--white); }
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-list details { background: var(--cream); padding: 26px 30px; border-radius: var(--radius); margin-bottom: 20px; border-left: 4px solid var(--burgundy); transition: var(--transition); }
.faq-list details:hover { background: var(--white); box-shadow: var(--shadow); }
.faq-list summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 36px; font-family: 'Cormorant Garamond', serif; color: var(--burgundy-dark); font-size: 1.08rem; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 1.7rem; color: var(--gold); transition: transform 0.3s; width: 26px; text-align: center; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: 20px; font-size: 1rem; color: var(--gray-600); line-height: 1.8; padding-top: 20px; border-top: 1px solid var(--cream-dark); }

.cta-section { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%); color: var(--white); padding: 110px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; width: 550px; height: 550px; background: var(--gold); border-radius: 50%; bottom: -280px; left: -180px; opacity: 0.08; }
.cta-content { text-align: center; max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.cta-content h2 { font-size: 2.9rem; margin-bottom: 22px; color: var(--white); }
.cta-content p { font-size: 1.3rem; opacity: 0.96; margin-bottom: 38px; }
.cta-note { font-size: 0.98rem; opacity: 0.88; margin-top: 26px; font-family: 'Libre Baskerville', serif; }

.page-header { background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%); color: var(--white); padding: 155px 0 95px; text-align: center; }
.page-header h1 { font-size: 3.4rem; margin-bottom: 20px; color: var(--white); }
.page-header p { font-size: 1.3rem; opacity: 0.93; }

.servicios-detalle { background: var(--white); }
.intro-box { background: var(--cream); padding: 32px; border-radius: var(--radius); border-left: 4px solid var(--gold); margin-bottom: 50px; }
.intro-box h2 { font-size: 1.6rem; margin-bottom: 14px; }
.intro-box p { color: var(--gray-600); }

.servicio-block { background: var(--cream); padding: 38px; border-radius: var(--radius); margin-bottom: 32px; border: 1px solid var(--gold-light); }
.servicio-header { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 2px solid var(--gold-light); }
.servicio-icon { font-size: 2.5rem; }
.servicio-header h3 { font-size: 1.8rem; margin-bottom: 6px; }
.servicio-desc { color: var(--gray-600); font-style: italic; }

.precio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.precio-item { background: var(--white); padding: 26px; border-radius: 10px; border: 1px solid var(--cream-dark); transition: var(--transition); }
.precio-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.precio-item h4 { font-size: 1.18rem; margin-bottom: 10px; color: var(--burgundy-dark); }
.precio-desc { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 14px; line-height: 1.6; }
.precio-valor { display: block; font-size: 1.5rem; font-weight: 700; color: var(--burgundy); font-family: 'Cormorant Garamond', serif; }
.precio-unidad { display: block; font-size: 0.88rem; color: var(--gray-400); margin-top: 4px; }

.servicio-note { margin-top: 24px; padding: 16px; background: var(--white); border-radius: 8px; border-left: 3px solid var(--gold); font-size: 0.95rem; color: var(--gray-600); }

.consulta-box { background: var(--white); padding: 34px; border-radius: var(--radius); text-align: center; border: 2px dashed var(--gold); }
.consulta-box p { margin-bottom: 22px; color: var(--gray-600); }
.consulta-box a { color: var(--burgundy); text-decoration: underline; }

.garantias-section { margin-top: 60px; }
.garantias-section h2 { font-size: 2rem; text-align: center; margin-bottom: 36px; }
.garantias-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.garantia-item { background: var(--white); padding: 28px; border-radius: var(--radius); border-top: 3px solid var(--gold); }
.garantia-item h4 { font-size: 1.15rem; margin-bottom: 12px; color: var(--burgundy-dark); }
.garantia-item p { font-size: 0.96rem; color: var(--gray-600); }

.about-content { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; margin-bottom: 90px; }
.about-text h2 { font-size: 2.2rem; margin-bottom: 24px; }
.about-text p { margin-bottom: 20px; color: var(--gray-600); font-size: 1.05rem; }
.about-text h3 { margin: 34px 0 18px; font-size: 1.4rem; }
.about-text ul { margin-left: 24px; margin-bottom: 24px; list-style: disc; }
.about-text li { margin-bottom: 12px; color: var(--gray-600); font-size: 1.02rem; }
.about-image svg { border-radius: var(--radius); box-shadow: var(--shadow); }

.team-section { margin-bottom: 80px; }
.team-section h2 { font-size: 2.2rem; text-align: center; margin-bottom: 46px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.team-member { background: var(--cream); padding: 34px 28px; border-radius: var(--radius); text-align: center; border: 1px solid var(--gold-light); }
.member-avatar { font-size: 3rem; margin-bottom: 16px; }
.team-member h4 { font-size: 1.3rem; margin-bottom: 6px; }
.member-role { font-weight: 600; color: var(--burgundy); margin-bottom: 12px; font-size: 0.95rem; }
.team-member p { font-size: 0.96rem; color: var(--gray-600); }

.certificaciones { margin-bottom: 50px; }
.certificaciones h2 { font-size: 2.2rem; text-align: center; margin-bottom: 38px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cert-item { background: var(--white); padding: 22px; border-radius: 10px; text-align: center; border-left: 3px solid var(--gold); font-size: 1.02rem; }

.contact-page { background: var(--cream); }
.contact-methods { margin-bottom: 88px; }
.contact-methods h2 { font-size: 2.2rem; text-align: center; margin-bottom: 46px; }
.methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.method-card { background: var(--white); padding: 38px 32px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gold-light); }
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.method-icon { font-size: 2.8rem; margin-bottom: 20px; }
.method-card h3 { font-size: 1.28rem; margin-bottom: 16px; }
.method-card p { font-size: 1rem; color: var(--gray-600); margin-bottom: 10px; }
.method-card .hours { font-weight: 600; color: var(--burgundy); }
.method-card .note { font-size: 0.9rem; color: var(--gray-400); margin-top: 12px; font-style: italic; }

.order-form-section { max-width: 840px; margin: 0 auto 88px; }
.order-form-section h2 { font-size: 2.2rem; text-align: center; margin-bottom: 46px; }
.contact-form { background: var(--white); padding: 46px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--gold-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 1rem; color: var(--burgundy-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 16px; border: 2px solid var(--cream-dark); border-radius: 10px; font-family: inherit; font-size: 1.05rem; transition: var(--transition); background: var(--cream); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(93,26,43,0.12); background: var(--white); }
.form-check { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 32px; font-size: 0.95rem; color: var(--gray-600); }
.form-check a { color: var(--burgundy); text-decoration: underline; }
.form-note { text-align: center; font-size: 0.9rem; color: var(--gray-400); margin-top: 20px; }
.form-hint { font-size: 0.9rem; color: var(--gray-400); margin-top: 8px; font-style: italic; }

.office-map { max-width: 940px; margin: 0 auto; }
.office-map h2 { font-size: 2.2rem; text-align: center; margin-bottom: 36px; }
.map-placeholder { background: var(--white); padding: 46px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gold-light); }
.map-placeholder svg { max-width: 100%; margin: 0 auto 26px; border-radius: 10px; }
.map-placeholder p { color: var(--gray-600); margin-bottom: 12px; }
.map-note { font-size: 0.9rem; color: var(--burgundy); font-weight: 500; margin-top: 14px; }

.legal-box { background: var(--white); padding: 46px; border-radius: var(--radius); border-left: 6px solid var(--burgundy); box-shadow: var(--shadow); }
.legal-box h3 { margin: 34px 0 16px; font-size: 1.35rem; color: var(--burgundy-dark); }
.legal-box p { margin-bottom: 16px; color: var(--gray-600); }
.legal-box ul { margin-left: 24px; margin-bottom: 20px; list-style: disc; }
.legal-box li { margin-bottom: 12px; color: var(--gray-600); }
.date { font-size: 0.9rem; color: var(--gray-400); margin-top: 30px; font-style: italic; }

.footer { background: var(--charcoal); color: var(--gray-400); padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.7fr; gap: 44px; margin-bottom: 44px; }
.footer-brand h3 { color: var(--white); font-family: 'Cormorant Garamond', serif; margin-bottom: 16px; font-size: 1.7rem; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 1rem; line-height: 1.7; }
.footer-nav h4, .footer-contact h4 { color: var(--white); margin-bottom: 20px; font-size: 1.15rem; }
.footer-nav ul li { margin-bottom: 12px; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #3A3A3A; padding-top: 24px; text-align: center; font-size: 0.9rem; color: #7A7A7A; }

.back-to-top { position: fixed; bottom: 34px; right: 34px; width: 52px; height: 52px; border-radius: 50%; background: var(--burgundy); color: var(--white); border: none; font-size: 1.4rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: 0 4px 16px rgba(93,26,43,0.4); z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--burgundy-dark); transform: translateY(-4px); }

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 26px; gap: 20px; box-shadow: var(--shadow); border-bottom: 1px solid var(--gold-light); }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero-buttons { flex-direction: column; }
    .about-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .servicio-header { flex-direction: column; text-align: center; }
    .contact-form { padding: 30px 24px; }
    .steps-horizontal::before { display: none; }
    .precio-grid { grid-template-columns: 1fr; }
}