*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #ffffff; --dark-2: #fefcfb; --dark-3: #f0efec;
  --border: #e5e4e0; --border-light: #eeede9;
  --white: #ffffff; --ink: #100a4b; --off-white: #2a2a2a; --muted: #100a4b;
  --navy: #100a4b; --navy-light: #241c6e;
  --gold: #8f7239; --gold-light: #e9b43b;
  --radius: 3px;
  --dark: var(--navy);
}
html { scroll-behavior: smooth; font-size: 17px; }
[id] { scroll-margin-top: 96px; }
body { font-family:'Lato',sans-serif; background:var(--cream); color:var(--ink); font-size:1rem; line-height:1.6; -webkit-font-smoothing:antialiased; }
h1, h2, h3 { font-family:'Montserrat',sans-serif; }

body > nav { position: fixed; top:0; left:0; right:0; z-index:100; border-bottom:1px solid var(--border); background:rgba(255,255,255,0.92); backdrop-filter:blur(12px); padding:0 2rem; }
.nav-inner { max-width:1200px; margin:0 auto; height:76px; display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.logo { font-family:'Montserrat',sans-serif; font-size:1.5rem; font-weight:700; letter-spacing:0.04em; color:var(--ink); text-decoration:none; text-transform:uppercase; flex-shrink:0; }
.logo em { font-style:normal; color:var(--gold); }
.nav-links { display:flex; gap:2rem; align-items:center; flex:1; justify-content:center; }
.nav-links a { font-family:'Montserrat',sans-serif; font-size:0.9rem; font-weight:400; color:var(--ink); text-decoration:none; transition:color 0.2s; white-space:nowrap; position:relative; padding:0.3rem 0; }
.nav-links a::after { content:''; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background:var(--gold); transition:right 0.25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { right:0; }
.nav-links a:hover, .nav-links a.active { color:var(--navy); }

.nav-dropdown { position:relative; display:flex; align-items:center; }
.nav-dropdown-trigger { font-family:'Montserrat',sans-serif; font-size:0.9rem; font-weight:400; color:var(--ink); text-decoration:none; cursor:default; white-space:nowrap; display:inline-flex; align-items:center; gap:0.35rem; }
.nav-dropdown-trigger .chevron { width:11px; height:11px; transition:transform 0.2s ease; flex-shrink:0; }
.nav-dropdown:hover .nav-dropdown-trigger .chevron { transform:rotate(180deg); }
.nav-dropdown:hover .nav-dropdown-trigger, .nav-dropdown-trigger.active { color:var(--navy); }
.nav-dropdown-menu { display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:0.5rem 0; min-width:150px; box-shadow:0 8px 24px rgba(16,10,75,0.08); z-index:50; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display:block; }
.nav-dropdown-menu a { display:block; padding:0.6rem 1.1rem; font-family:'Lato',sans-serif; font-size:0.9rem; font-weight:400; color:var(--muted); text-decoration:none; white-space:nowrap; border-left:2px solid transparent; transition:background 0.15s, color 0.15s, border-color 0.15s; }
.nav-dropdown-menu a::after { display:none; }
.nav-dropdown-menu a:hover { color:var(--navy); background:rgba(16,10,75,0.06); border-left-color:var(--gold); box-shadow:inset 0 0 0 1px rgba(16,10,75,0.05); }
.nav-cta { font-family:'Montserrat',sans-serif; font-size:0.9rem; font-weight:500; letter-spacing:0.04em; color:var(--navy); background:var(--gold-light); padding:0.65rem 1.4rem; border-radius:var(--radius); text-decoration:none; transition:background 0.2s; flex-shrink:0; }
.nav-cta:hover { background:var(--gold); }
.nav-toggle { display:none; background:none; border:none; color:var(--ink); font-size:1.4rem; cursor:pointer; }
@media (max-width: 900px) {
  .nav-links { display:none; }
  .nav-toggle { display:block; }
}

.hero { min-height:100vh; display:flex; flex-direction:column; justify-content:center; padding:7.5rem 2rem 4rem; border-bottom:1px solid var(--border); position:relative; overflow:hidden; }
@media (max-height: 820px) and (min-width: 1001px) { .hero { min-height:auto; padding:6.5rem 2rem 3rem; } }
.hero-bg { position:absolute; inset:0; background:var(--white); }
.hero-bg::after { content:''; position:absolute; inset:0; background:none; }

.hero-animated .hero-bg {
  background:
    radial-gradient(circle at 15% 25%, rgba(143,114,57,0.16) 0%, transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(16,10,75,0.09) 0%, transparent 38%),
    radial-gradient(circle at 45% 85%, rgba(233,180,59,0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(16,10,75,0.07) 0%, transparent 40%),
    #fdfcfa;
  background-size: 180% 180%;
  animation: heroGradientMove 22s ease-in-out infinite;
}
@keyframes heroGradientMove {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 100% 100%; }
  50%  { background-position: 100% 60%, 20% 80%, 70% 10%, 0% 30%; }
  100% { background-position: 0% 0%, 100% 0%, 50% 100%, 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-animated .hero-bg { animation: none; }
}
.hero-content { position:relative; max-width:1200px; margin:0 auto; width:100%; }
.hero-grid { display:grid; grid-template-columns:1fr 425px; gap:3rem; align-items:end; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns:1fr; } .hero-visual { display:none; } }
.hero-visual { width:100%; margin-bottom:30px; }
.hero-photo .hero-bg { background:url('../img/hero-palma-catedral.jpg') center 30%/cover no-repeat; }
.hero-photo-mallorca .hero-bg { background:url('../img/hero-mallorca-cala.jpg') center 55%/cover no-repeat; }
.hero-photo-barcelona .hero-bg { background:url('../img/hero-barcelona-placa.jpg') center 60%/cover no-repeat; }
.hero-photo-alicante .hero-bg { background:url('../img/hero-alicante-puerto.jpg') center 55%/cover no-repeat; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(100deg, #000 0%, rgb(0 0 0 / 84%) 38%, rgba(10, 6, 48, 0.55) 68%, rgba(10, 6, 48, 0.32) 100%); }
.hero-text-block { position:relative; max-width:800px; }
@media (max-width: 1000px) { .hero-overlay { background:linear-gradient(180deg, rgba(10,6,48,0.72) 0%, rgba(10,6,48,0.9) 55%, rgba(10,6,48,0.96) 100%); } }


.google-badge { display:inline-flex; align-items:center; gap:0.6rem; padding:0.6rem 1rem; border:1px solid var(--border); border-radius:var(--radius); background:var(--white); margin-bottom:1.25rem; text-decoration:none; transition:border-color 0.2s; flex-wrap:wrap; max-width:100%; }
.google-badge:hover { border-color:var(--gold); }
.google-badge .stars { color:#f5b400; font-size:0.9rem; letter-spacing:1px; }
.google-badge .rating-text { font-size:0.9rem; color:var(--ink); font-weight:600; }
.google-badge .rating-sub { font-size:0.8rem; color:var(--ink); opacity:0.65; }
.google-badge .g-icon { width:16px; height:16px; flex-shrink:0; }
.hero-eyebrow { font-size:0.8rem; font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold); margin-bottom:2rem; }
.hero h1.hero-eyebrow { font-family:'Lato',sans-serif; font-size:0.8rem; font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold); margin:0 0 1.25rem 0; line-height:1.6; max-width:none; }
.hero h1, .hero .hero-headline { font-size:clamp(2.4rem, 6vw, 4.6rem); font-weight:400; letter-spacing:-0.03em; line-height:1.08; color:var(--navy); margin-bottom:1.75rem; max-width:800px; font-family:'Montserrat',sans-serif; }
.hero h1 strong, .hero .hero-headline strong { font-weight:700; color:var(--ink); }
.hero-sub { font-size:1rem; color:var(--muted); max-width:480px; line-height:1.8; margin-bottom:2rem; }
.hero-actions { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }
.btn-gold { font-size:0.9rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; background:var(--gold-light); color:var(--navy); padding:1.05rem 2rem; border-radius:var(--radius); text-decoration:none; transition:background 0.2s; display:inline-block; }
.btn-gold:hover { background:var(--gold); }
.btn-outline { font-size:0.9rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; color:var(--navy); border-bottom:1px solid var(--border); text-decoration:none; padding-bottom:2px; transition:color 0.2s, border-color 0.2s; }
.btn-outline:hover { color:var(--gold); border-color:var(--gold); }
.scroll-hint { font-size:0.9rem; font-weight:500; color:var(--muted); text-decoration:none; opacity:0.75; transition:opacity 0.2s, color 0.2s; }
.scroll-hint:hover { opacity:1; color:var(--gold); }
.hero-trust { display:flex; flex-direction:row; flex-wrap:wrap; gap:0.75rem 1.75rem; align-items:center; margin-top:1.75rem; }
.trust-pill { font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; gap:0.5rem; }
.trust-line { width:24px; height:1px; background:var(--gold); opacity:0.7; }
@media (max-width: 700px) { .hero-trust { flex-direction:column; align-items:flex-start; margin-top:1.5rem; } }

.section { padding:6rem 2rem; border-bottom:1px solid var(--border); }
.section.dark-alt { background:var(--dark-2); }
.container { max-width:1200px; margin:0 auto; }
.section-head { margin-bottom:4rem; }
.eyebrow { font-size:0.8rem; font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:1.25rem; display:block; }
.section-title { font-size:clamp(1.7rem, 3.2vw, 2.6rem); font-weight:400; letter-spacing:-0.02em; line-height:1.2; color:var(--navy); }
.section-title strong { font-weight:700; color:var(--ink); }
.section-sub { font-size:1rem; color:var(--muted); max-width:520px; margin-top:1rem; line-height:1.8; }
.services-intro { max-width:1000px; }
.timeline-intro { max-width:760px; }
.contact-heading { font-size:clamp(1.9rem, 3.6vw, 2.9rem); }

.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:#d8d6cf; border:1px solid #d8d6cf; border-radius:var(--radius); overflow:hidden; }
.service-card { background:var(--white); padding:2.5rem 2rem; transition:background 0.2s, box-shadow 0.25s, transform 0.25s, border-color 0.25s; display:block; text-decoration:none; position:relative; box-shadow:0 2px 8px rgba(16,10,75,0.07); border:1px solid transparent; }
.service-card:hover { background:var(--dark-2); transform:translateY(-2px); box-shadow:0 10px 24px rgba(16,10,75,0.12); border-color:var(--gold); }
.service-num { font-size:0.8rem; font-weight:700; letter-spacing:0.1em; color:var(--gold); margin-bottom:1.25rem; margin-top:0.6rem; display:block; }
.service-icon { width:40px; height:40px; margin-bottom:1.25rem; color:var(--gold); }
.service-icon svg { width:100%; height:100%; }
.service-card h3 { font-size:1.15rem; font-weight:600; color:var(--navy); margin-bottom:0.6rem; }
.service-card p { font-size:1rem; color:var(--muted); line-height:1.8; }
@media (max-width: 600px) { .services-grid { grid-template-columns:1fr; } }

.steps { display:flex; flex-direction:column; }
.compare-grid { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
@media (max-width: 640px) { .compare-grid { grid-template-columns:1fr; gap:2.5rem; } }
.step-row { display:grid; grid-template-columns:60px 1fr; gap:2rem; padding:2.5rem 0; border-top:1px solid #cbc8bf; align-items:start; }
.step-row:last-child { border-bottom:1px solid #cbc8bf; }
.step-num-big { font-size:1.8rem; font-weight:400; letter-spacing:-0.04em; color:var(--ink); opacity:0.4; line-height:1; margin-top:-0.15rem; }
.step-body h3 { font-size:1.15rem; font-weight:600; color:var(--navy); margin-bottom:0.4rem; }
.step-body p { font-size:1rem; color:var(--muted); line-height:1.8; }

.explore-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:3.5rem; }
.explore-grid-4 { grid-template-columns:repeat(4,1fr); }
@media (max-width: 1000px) { .explore-grid-4 { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 800px) { .explore-grid { grid-template-columns:1fr; } .explore-grid-4 { grid-template-columns:1fr; } }
.explore-card { border:1px solid var(--border); border-radius:var(--radius); text-decoration:none; display:block; background:var(--white); transition:border-color 0.2s; overflow:hidden; padding:0; }
.explore-card:hover { border-color:var(--gold); }
.explore-card-thumb { height:130px; display:flex; align-items:center; justify-content:center; background:var(--dark-2); }
.explore-card-thumb svg { width:52px; height:52px; }
.explore-card-body { padding:1.75rem 1.75rem 2rem; }
.explore-card h3 { font-size:1.15rem; font-weight:600; color:var(--navy); margin-bottom:0.5rem; }
.explore-card p { font-size:1rem; color:var(--muted); line-height:1.7; margin-bottom:1rem; }
.explore-card span.link { font-size:0.8rem; color:var(--gold); letter-spacing:0.04em; font-weight:600; }

.expert-layout { display:grid; grid-template-columns:0.9fr 1fr; gap:5rem; align-items:stretch; }
@media (max-width: 768px) { .expert-layout { grid-template-columns:1fr; gap:3rem; } }
.expert-img { background:var(--dark-3); border-radius:16px; box-shadow:0 12px 32px rgba(16,10,75,0.10); display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:0.8rem; text-align:center; position:relative; overflow:hidden; min-height:420px; }
@media (max-width: 768px) { .expert-img { aspect-ratio:3/4; min-height:0; } }
.expert-img-placeholder { display:flex; flex-direction:column; align-items:center; gap:0.5rem; }
.expert-img-icon { font-size:3rem; opacity:0.25; }
.expert-text p { font-size:1rem; color:var(--muted); line-height:1.9; margin-bottom:1.5rem; }
.expert-name { font-size:1.3rem; font-weight:600; color:var(--navy); margin-bottom:0.25rem; }
.expert-role { font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); }

.form-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:5rem; align-items:start; }
@media (max-width: 768px) { .form-layout { grid-template-columns:1fr; gap:3rem; } }
.form-intro-text { font-size:1.05rem; color:var(--muted); line-height:1.9; margin-bottom:1.5rem; }
.form-feature { padding:1.25rem 0; border-top:1px solid var(--border); font-size:0.9rem; color:var(--muted); display:flex; gap:0.75rem; align-items:flex-start; }
.form-feature:last-child { border-bottom:1px solid var(--border); }
.form-feature-dot { width:4px; height:4px; border-radius:50%; background:var(--gold); margin-top:0.45rem; flex-shrink:0; }
.form-fields { display:flex; flex-direction:column; gap:1rem; background:var(--white); border:1px solid var(--border); border-radius:10px; padding:2.5rem; box-shadow:0 4px 16px rgba(16,10,75,0.06); }
@media (max-width: 480px) { .form-fields { padding:1.75rem; } }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width: 480px) { .field-row { grid-template-columns:1fr; } }
.field { display:flex; flex-direction:column; gap:0.4rem; }
label { font-size:0.8rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); }
input, select, textarea { font-family:inherit; font-size:0.9rem; color:var(--ink); background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:0.75rem 1rem; width:100%; transition:border-color 0.2s, box-shadow 0.2s; }
input::placeholder, textarea::placeholder { color:#a8a599; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(184,147,74,0.12); }
select option { background:var(--white); color:var(--ink); }
textarea { min-height:110px; resize:vertical; }
.form-submit { width:100%; font-family:inherit; font-size:0.9rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; background:var(--navy); color:var(--white); border:none; border-radius:var(--radius); padding:1rem; cursor:pointer; transition:background 0.2s; margin-top:0.5rem; }
.form-submit:hover { background:var(--navy-light); }
.form-note { font-size:0.8rem; color:var(--muted); margin-top:0.75rem; text-align:center; }

.faq-list { margin-top:1rem; }
details { border-top:1.5px solid var(--border); }
details:last-child { border-bottom:1.5px solid var(--border); }
summary { padding:1.5rem 0 0.72rem; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; font-size:1rem; font-weight:600; color:var(--navy); user-select:none; }
summary::-webkit-details-marker { display:none; }
.faq-icon { width:22px; height:22px; border-radius:50%; border:1.75px solid rgba(16,10,75,0.34); display:flex; align-items:center; justify-content:center; font-size:1.15rem; color:rgba(16,10,75,0.55); flex-shrink:0; margin-left:1rem; transition:transform 0.25s ease, border-color 0.2s, color 0.2s; }
details[open] .faq-icon { width:19px; height:19px; font-size:1rem; transform:rotate(45deg); border-color:rgba(184,147,74,0.55); color:rgba(184,147,74,0.75); }
.faq-body { padding:0 0 1.5rem; font-size:0.9rem; color:rgba(16,10,75,0.78); line-height:1.9; max-width:820px; }
.faq-more { margin-top:2rem; }
.faq-more a { color:var(--gold); font-size:0.9rem; text-decoration:none; font-weight:600; border-bottom:1px solid rgba(184,147,74,0.3); padding-bottom:2px; }

footer { padding:5rem 2rem 3rem; background:var(--dark-2); }
.footer-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.35fr 1fr 1fr 1fr; gap:2.5rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns:1fr; gap:2.5rem; } }
.footer-col h4 { font-size:0.8rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.footer-col a.footer-brand-link { color:var(--gold); text-decoration:none; transition:opacity 0.2s; }
.footer-col a.footer-brand-link:hover { color:var(--gold); opacity:0.75; }
.footer-col a { display:block; font-size:0.9rem; color:rgba(16,10,75,0.7); text-decoration:none; margin-bottom:0.7rem; transition:color 0.2s; }
.footer-col a:hover { color:var(--gold); }
.footer-col p { font-size:1rem; color:var(--muted); line-height:1.8; max-width:280px; }
.footer-bottom { background:var(--dark-2); margin:0 -2rem -3rem; padding:0 2rem; }
.footer-bottom-inner { max-width:1200px; margin:0 auto; padding:1.2rem 0 1.4rem; border-top:1px solid #f0ebe4; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; font-size:0.8rem; letter-spacing:0.02em; color:var(--muted); }
.footer-bottom-links { display:flex; flex-wrap:wrap; gap:0.75rem 1.5rem; text-transform:uppercase; letter-spacing:0.06em; }
.footer-bottom-links a { color:var(--muted); text-decoration:none; transition:color 0.2s; }
.footer-bottom-links a:hover { color:var(--navy); }

.mobile-cta { display:none; position:fixed; bottom:0; left:0; right:0; z-index:200; background:var(--white); border-top:1px solid var(--border); padding:0.75rem 1.5rem; box-shadow:0 -4px 16px rgba(0,0,0,0.06); }
.mobile-cta a { display:block; text-align:center; background:var(--gold-light); color:var(--navy); font-size:0.8rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:0.85rem; border-radius:var(--radius); text-decoration:none; }
@media (max-width: 768px) { .mobile-cta { display:block; } body { padding-bottom:68px; } .nav-cta { display:none; } }
@media (max-width: 640px) { .section { padding:4rem 1.25rem; } .hero { padding:7rem 1.25rem 4rem; } .footer-bottom-inner { flex-direction:column; align-items:flex-start; } }
@media (prefers-reduced-motion: reduce) { * { transition:none !important; scroll-behavior:auto !important; } }

/* Foco de teclado visible — accesibilidad */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-links-open {
    display: flex !important;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links-open .nav-dropdown { flex-direction:column; align-items:flex-start; gap:0.5rem; }
  .nav-links-open .nav-dropdown-menu { display:flex; flex-direction:column; position:static; transform:none; border:none; box-shadow:none; padding:0.25rem 0 0 1rem; gap:0.4rem; min-width:0; }
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ritmo de espaciado variado — solo en la home, no toca el resto del sitio */
.rhythm-cards { padding-top:7.5rem; padding-bottom:6.5rem; }
.rhythm-timeline { padding-top:8.5rem; padding-bottom:7.5rem; }
.rhythm-expert { padding-top:8rem; padding-bottom:6.5rem; }
.rhythm-contact { padding-top:7.2rem; padding-bottom:6rem; }
.rhythm-faq { padding-top:6.2rem; padding-bottom:8.2rem; }
@media (max-width: 640px) {
  .rhythm-cards, .rhythm-timeline, .rhythm-expert, .rhythm-contact, .rhythm-faq { padding-top:4rem; padding-bottom:4rem; }
}

/* Animación de scroll (fade-up) — la clase la añade JS, nunca el HTML */
.reveal { opacity: 0; transition: opacity 0.32s ease; }
.reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ COOKIE-CONSENT ============ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: #ffffff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(16,10,75,0.08);
  padding: 1.25rem 2rem; display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cookie-banner-text { font-size: 0.85rem; color: var(--ink); line-height: 1.6; max-width: 640px; }
.cookie-banner-text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(184,147,74,0.3); }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600; padding: 0.65rem 1.3rem; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--border); background: #ffffff; color: var(--navy); transition: background 0.2s, border-color 0.2s; white-space: nowrap; }
.cookie-btn:hover { border-color: var(--navy); }
.cookie-btn-primary { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.cookie-btn-primary:hover { background: var(--gold); border-color: var(--gold); }

.cookie-modal-overlay {
  position: fixed; inset: 0; z-index: 600; background: rgba(16,10,75,0.35);
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.cookie-modal-overlay.is-visible { display: flex; }
.cookie-modal {
  background: #ffffff; border-radius: 8px; max-width: 520px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 2rem;
  box-shadow: 0 24px 64px rgba(16,10,75,0.25);
}
.cookie-modal h3 { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.cookie-modal-intro { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.cookie-category { padding: 1rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.cookie-category:last-of-type { border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.cookie-category-info h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.cookie-category-info p { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.cookie-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; margin-top: 0.15rem; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 22px; cursor: pointer; transition: background 0.2s; }
.cookie-toggle-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--gold); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { background: var(--navy); opacity: 0.35; cursor: not-allowed; }
.cookie-modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-modal-actions .cookie-btn { flex: 1; text-align: center; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* Textos del hero en modo foto — al final del archivo para que ganen siempre,
   sin depender de peleas de especificidad con las reglas base de arriba */
.hero-photo .hero-headline,
.hero-photo .hero-headline strong { color:#ffffff !important; }
.hero-photo .hero-sub { color:rgba(255,255,255,0.9) !important; }
.hero-photo .hero-eyebrow { color:var(--gold-light) !important; }
.hero-photo .trust-pill { color:rgba(255,255,255,0.85) !important; }
.hero-photo .trust-line { background:var(--gold-light) !important; }
.hero-photo .btn-outline { color:#ffffff !important; border-color:rgba(255,255,255,0.5) !important; }
.hero-photo .btn-outline:hover { color:var(--gold-light) !important; border-color:var(--gold-light) !important; }
.hero-photo .scroll-hint { color:rgba(255,255,255,0.85) !important; }
.hero-photo .scroll-hint:hover { color:var(--gold-light) !important; }
.hero-photo .scroll-hint { color:rgba(255,255,255,0.75) !important; }
.hero-photo .scroll-hint:hover { color:var(--gold-light) !important; }
.hero-photo .google-badge { background:rgba(255,255,255,0.97) !important; border-color:rgba(255,255,255,0.4) !important; box-shadow:0 8px 24px rgba(0,0,0,0.3) !important; }

/* ============ ÜBER UNS — variantes específicas de esta página ============ */
.about-founder-layout { display:grid; grid-template-columns:1.05fr 1fr; gap:5rem; align-items:stretch; }
@media (max-width: 900px) { .about-founder-layout { grid-template-columns:1fr; gap:3rem; } }

.about-service-card { padding:3rem 2.25rem; box-shadow:0 4px 16px rgba(16,10,75,0.09); border:1px solid rgba(16,10,75,0.06); }
.about-service-card .service-icon { width:50px; height:50px; }

.about-photo-banner { position:relative; height:56vh; min-height:420px; overflow:hidden; }
.about-photo-banner .hero-bg { background:url('../img/hero-palma-catedral.jpg') center 35%/cover no-repeat; }
.about-photo-banner .about-photo-overlay { position:absolute; inset:0; background:linear-gradient(0deg, rgba(10,6,48,0.75) 0%, rgba(10,6,48,0.25) 55%, rgba(10,6,48,0.35) 100%); }
.about-photo-caption { position:relative; z-index:1; height:100%; display:flex; align-items:flex-end; justify-content:center; text-align:center; padding-bottom:3rem; }
.about-photo-caption p { color:#ffffff; font-family:'Montserrat',sans-serif; font-size:clamp(1.4rem,3vw,2rem); font-weight:400; letter-spacing:-0.01em; max-width:600px; }

.value-list { display:flex; flex-direction:column; max-width:820px; }
.value-item { display:flex; gap:1.5rem; align-items:flex-start; padding:1.75rem 0; border-top:1px solid var(--border); }
.value-item:last-child { border-bottom:1px solid var(--border); }
.value-icon { width:26px; height:26px; flex-shrink:0; color:var(--gold); margin-top:0.2rem; }
.value-text h3 { font-size:1.05rem; font-weight:600; color:var(--navy); margin-bottom:0.35rem; }
.value-text p { font-size:0.95rem; color:var(--muted); line-height:1.7; }

.location-blocks { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
@media (max-width: 700px) { .location-blocks { grid-template-columns:1fr; } }
.location-block { display:block; background:var(--white); padding:3rem 2rem 2.5rem; text-decoration:none; box-shadow:0 2px 8px rgba(16,10,75,0.06); border:1px solid transparent; transition:box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.location-block:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(16,10,75,0.1); border-color:var(--gold); }
.location-block h3 { font-size:1.2rem; font-weight:600; color:var(--navy); margin-bottom:0.6rem; }
.location-block p { font-size:0.95rem; color:var(--muted); line-height:1.7; margin-bottom:1.5rem; }
.location-block-arrow { font-size:0.85rem; font-weight:600; color:var(--gold); }

.hero-cta-wide { min-width:515px; max-width:100%; text-align:center; box-sizing:border-box; }
@media (max-width: 700px) { .hero-cta-wide { min-width:0; width:100%; } }

.standort-layout { display:grid; grid-template-columns:0.85fr 1fr; gap:3.5rem; align-items:center; }
@media (max-width: 900px) { .standort-layout { grid-template-columns:1fr; gap:2rem; } }

.footer-logo-bar { background:var(--navy); padding:2rem 2rem 1.5rem; margin:3rem -2rem 0; text-align:center; }
.footer-logo-bar img { height:20px; width:auto; opacity:0.95; margin-bottom:0.85rem; }
.footer-logo-bar p { color:rgba(255,255,255,0.75); font-size:0.85rem; letter-spacing:0.02em; margin:0; }
