:root {
	--ink: #1c1712;
	--brown: #3e3226;
	--cream: #f2ece1;
	--paper: #fffdf9;
	--gold: #a87f2f;
	--gold-light: #c9a55f;
	--line: rgba(168, 127, 47, .34);
	--serif: "Cormorant Garamond", Georgia, serif;
	--display: "IM Fell English", Georgia, serif;
	--content: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--gold); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 10px 18px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 4vw, 58px); background: rgba(242, 236, 225, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); transition: height .25s, box-shadow .25s; }
.site-header.scrolled { height: 70px; box-shadow: 0 8px 30px rgba(28, 23, 18, .08); }
.brand img { width: auto; height: 42px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(17px, 2.2vw, 32px); }
.desktop-nav > a:not(.button) { color: var(--brown); font-size: 16px; text-decoration: none; border-bottom: 1px solid transparent; }
.desktop-nav > a:not(.button):hover, .desktop-nav > a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; margin: 8px 0; background: var(--ink); transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(242, 236, 225, .98); padding: 118px 26px 36px; overflow-y: auto; }
.mobile-menu nav { min-height: calc(100svh - 154px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.mobile-menu nav > a:not(.button) { color: var(--ink); font-family: var(--display); font-size: clamp(28px, 8vw, 38px); font-style: italic; line-height: 1.1; text-decoration: none; }

.container { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.container-narrow { width: min(880px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 112px) 0; }
.section-paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark p { color: rgba(242, 236, 225, .82); }
.center { text-align: center; }
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.section-dark .eyebrow { color: var(--gold-light); }
.display-title, .section-title { margin: 0; font-family: var(--display); font-style: italic; font-weight: 400; line-height: 1.08; }
.display-title { font-size: clamp(46px, 8vw, 92px); }
.section-title { font-size: clamp(34px, 4.7vw, 48px); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto; }
.ornament::before, .ornament::after { content: ""; width: 64px; height: 1px; background: var(--gold); }
.ornament span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.section-dark .ornament::before, .section-dark .ornament::after, .section-dark .ornament span { background: var(--gold-light); }
.lead { max-width: 42em; margin: 20px auto 0; color: var(--brown); font-size: clamp(19px, 2.2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 34px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); font-family: var(--serif); font-size: 16px; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.button:hover { background: transparent; color: var(--ink); }
.button-outline { border-color: var(--gold); background: transparent; color: var(--ink); }
.button-outline:hover, .button-gold { border-color: var(--gold); background: var(--gold); color: var(--paper); }
.button-gold:hover { background: transparent; color: var(--gold); }
.button-light { border-color: var(--gold-light); background: transparent; color: var(--cream); }
.button-light:hover { background: var(--gold-light); color: var(--ink); }
.button-small { min-height: 42px; padding: 8px 22px; font-size: 14px; }

.home-hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 24px 72px; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(28,23,18,.18), rgba(28,23,18,.26)), url("/application/media/img/fotos/casa-catedral.png") center 58% / cover; transform: scale(1.015); }
.hero-card { position: relative; width: min(920px, 100%); padding: clamp(46px, 8vw, 100px) clamp(24px, 6vw, 84px); border: 2px solid var(--gold); background: rgba(242, 236, 225, .93); text-align: center; }
.hero-card::after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold); pointer-events: none; }
.hero-card > * { position: relative; z-index: 1; }
.hero-card .subtitle { max-width: 33em; margin: 0 auto; color: var(--brown); font-size: clamp(20px, 2.5vw, 25px); font-style: italic; }
.hero-addresses { margin-top: 25px; color: var(--brown); font-size: 16px; letter-spacing: .05em; }
.diamond { color: var(--gold); padding-inline: 8px; }

.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--gold); }
.property-card { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px); }
.property-card + .property-card { border-left: 1px solid var(--gold); }
.property-card img { width: 100%; height: 290px; object-fit: cover; margin-bottom: 28px; }
.roman { color: var(--gold); font-family: var(--display); font-size: 30px; font-style: italic; }
.property-card h3, .stay-card h3 { margin: 2px 0 0; font-size: clamp(28px, 3.2vw, 36px); font-weight: 500; line-height: 1.2; }
.address { color: var(--gold); font-size: 17px; font-style: italic; }
.property-card p { color: var(--brown); font-size: 18px; }
.tag { display: inline-block; align-self: flex-start; margin-top: 14px; padding: 4px 12px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

.numbered-list { margin-top: 36px; }
.numbered-item { display: grid; grid-template-columns: 84px 1fr; gap: 26px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.numbered-item:last-child { border-bottom: 0; }
.numbered-item .roman { text-align: right; }
.numbered-item h3 { margin: 0; font-size: 25px; font-weight: 500; }
.numbered-item p { margin: 5px 0 0; color: var(--brown); font-size: 18px; }
.editorial-image { width: min(880px, 100%); height: 380px; margin: 46px auto 0; object-fit: cover; }
.distances { display: flex; flex-wrap: wrap; justify-content: center; gap: 42px 56px; margin-top: 48px; }
.distance strong { display: block; color: var(--gold-light); font-family: var(--display); font-size: 44px; font-style: italic; font-weight: 400; line-height: 1; }
.distance span { display: block; margin-top: 8px; color: rgba(242,236,225,.86); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 44px; text-align: left; }
.review { margin: 0; padding: 32px 28px; border: 1px solid var(--line); background: var(--paper); }
.review::before { content: "“"; color: var(--gold); font-family: var(--display); font-size: 38px; line-height: .7; }
.review p { color: var(--brown); font-size: 18px; font-style: italic; }
.review footer { color: var(--gold); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.phone-link { display: inline-block; margin-top: 10px; border-bottom: 2px solid var(--gold); color: var(--ink); font-family: var(--display); font-size: clamp(36px, 5.5vw, 54px); font-style: italic; text-decoration: none; }

.page-hero { position: relative; min-height: 72svh; display: flex; align-items: end; padding: 120px 24px 0; background-position: center; background-size: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,23,18,.1), rgba(28,23,18,.28)); }
.page-hero-catedral { background-image: url("/application/media/img/catedral-hero.jpeg"); }
.page-hero-centro { background-image: url("/application/media/img/uploads/270751166.jpg"); }
.page-hero .container { position: relative; }
.page-hero-card { display: inline-block; max-width: 850px; margin-bottom: -1px; padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px); border: 1px solid var(--gold); background: rgba(242,236,225,.95); }
.page-hero-card h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 66px); font-style: italic; font-weight: 400; line-height: 1.08; }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.stay-grid.single { max-width: 680px; margin-inline: auto; }
.stay-card { display: flex; flex-direction: column; border: 1px solid rgba(168,127,47,.5); background: var(--paper); }
.gallery { position: relative; height: 250px; overflow: hidden; background: #ddd4c6; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.gallery img.active { opacity: 1; }
.gallery-button { position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid var(--gold); border-radius: 50%; background: rgba(242,236,225,.9); color: var(--gold); font-size: 24px; cursor: pointer; }
.gallery-button:hover { background: var(--gold); color: var(--paper); }
.gallery-button.prev { left: 10px; }
.gallery-button.next { right: 10px; }
.stay-content { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 30px; }
.stay-content p { color: var(--brown); font-size: 17px; }
.feature-list { margin: 10px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--brown); font-size: 16px; }
.feature-list li::before { content: "◆"; margin-right: 11px; color: var(--gold); font-size: 8px; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; margin-top: 24px; }
.amenity { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.amenity::before { content: "◆"; margin-right: 11px; color: var(--gold); font-size: 8px; }
.faq-list { max-width: 760px; margin: 36px auto 0; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq-list summary { position: relative; padding-right: 34px; cursor: pointer; font-size: 21px; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; color: var(--gold); font-size: 26px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 12px 32px 0 0; color: var(--brown); font-size: 18px; }

.simple-hero { padding: 170px 24px 82px; border-bottom: 1px solid var(--line); text-align: center; }
.simple-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(42px, 7vw, 74px); font-style: italic; font-weight: 400; line-height: 1.05; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.story-grid img { width: 100%; min-height: 470px; object-fit: cover; }
.story-grid p { color: var(--brown); font-size: 20px; }
.malaga-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 7vw, 90px); align-items: center; padding: 58px 0; border-bottom: 1px solid var(--line); }
.malaga-row:nth-child(even) img { order: 2; }
.malaga-row img { width: 100%; height: 350px; object-fit: cover; }
.malaga-row h2 { margin: 0; font-family: var(--display); font-size: clamp(32px, 4vw, 46px); font-style: italic; font-weight: 400; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--gold); margin-top: 50px; text-align: left; }
.contact-property { padding: clamp(28px, 5vw, 54px); }
.contact-property + .contact-property { border-left: 1px solid var(--gold); }
.contact-property h2 { margin: 0; font-size: 28px; font-weight: 500; }
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 42px; font-family: var(--display); font-size: 31px; font-style: italic; font-weight: 400; }
.legal-content p, .legal-content li { color: var(--brown); font-size: 18px; }

.site-footer { padding: 46px 24px 96px; border-top: 1px solid var(--line); color: var(--brown); font-size: 15px; letter-spacing: .04em; text-align: center; }
.site-footer > img { width: auto; height: 38px; margin: 0 auto; object-fit: contain; }
.site-footer p { margin: 10px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 15px; }
.site-footer a { color: var(--brown); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal-nav { margin-top: 10px; font-size: 14px; }
.site-footer small { display: block; margin-top: 12px; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 18px; z-index: 70; padding: 10px 17px; border: 1px solid var(--gold); background: var(--cream); color: var(--ink); font-size: 14px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 24px rgba(28,23,18,.13); }
.floating-whatsapp:hover { background: var(--gold); color: var(--paper); }

@media (max-width: 900px) {
	.desktop-nav { display: none; }
	.menu-toggle { display: block; }
	.property-grid, .review-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
	.property-card + .property-card, .contact-property + .contact-property { border-left: 0; border-top: 1px solid var(--gold); }
	.review-grid { gap: 18px; }
	.story-grid img { min-height: 340px; }
}

@media (max-width: 680px) {
	body { font-size: 18px; }
	.site-header { height: 70px; padding-inline: 18px; }
	.brand img { height: 36px; }
	.container, .container-narrow { width: min(100% - 34px, var(--content)); }
	.home-hero { padding: 96px 16px 28px; }
	.hero-card { padding: 48px 22px; }
	.hero-addresses .diamond { display: block; height: 12px; font-size: 8px; }
	.button { width: 100%; max-width: 420px; }
	.property-card img { height: 235px; }
	.numbered-item { grid-template-columns: 46px 1fr; gap: 15px; }
	.numbered-item .roman { font-size: 25px; }
	.editorial-image { height: 260px; }
	.page-hero { min-height: 66svh; padding: 96px 17px 0; }
	.page-hero-card { width: 100%; }
	.amenities { grid-template-columns: 1fr; }
	.malaga-row { grid-template-columns: 1fr; padding: 42px 0; }
	.malaga-row:nth-child(even) img { order: 0; }
	.malaga-row img { height: 260px; }
	.simple-hero { padding: 132px 18px 62px; }
	.site-footer { padding-bottom: 92px; }
	.site-footer p span { display: block; height: 8px; font-size: 7px; }
}

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

