:root {
  --alhaja-ink: #27302b;
  --alhaja-ink-soft: #5e675f;
  --alhaja-cream: #f4f0e9;
  --alhaja-paper: #fbfaf7;
  --alhaja-terracotta: #b9654a;
  --alhaja-terracotta-deep: #8f4937;
  --alhaja-olive: #68745f;
  --alhaja-line: rgba(39, 48, 43, .18);
  --alhaja-serif: 'Playfair Display', Georgia, serif;
  --alhaja-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* La plantilla propia evita el contenedor del tema y estos resets eliminan sus márgenes. */
body.alhaja-bodas-renovado-standalone { margin: 0 !important; min-width: 320px; padding: 0 !important; }
body.alhaja-bodas-renovado-standalone .alhaja-bodas-renovado-site { margin: 0; width: 100%; }

.alhaja-bodas-renovado-site,
.alhaja-bodas-renovado-site * { box-sizing: border-box; }

.alhaja-bodas-renovado-site {
  background: var(--alhaja-paper);
  color: var(--alhaja-ink);
  font-family: var(--alhaja-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
}

.alhaja-bodas-renovado-site a { color: inherit; }
.alhaja-container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.alhaja-section { padding: 130px 0; }
.alhaja-eyebrow { color: var(--alhaja-terracotta); font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.3; margin: 0 0 20px; text-transform: uppercase; }
.alhaja-bodas-renovado-site h1,
.alhaja-bodas-renovado-site h2,
.alhaja-bodas-renovado-site h3,
.alhaja-wordmark { font-family: var(--alhaja-serif); font-weight: 500; }
.alhaja-bodas-renovado-site h1,
.alhaja-bodas-renovado-site h2,
.alhaja-bodas-renovado-site h3,
.alhaja-bodas-renovado-site p { margin-top: 0; }
.alhaja-bodas-renovado-site h1 { font-size: clamp(48px, 6.6vw, 90px); letter-spacing: -.045em; line-height: .98; max-width: 770px; }
.alhaja-bodas-renovado-site h2 { font-size: clamp(38px, 4.3vw, 62px); letter-spacing: -.045em; line-height: 1.04; }

.alhaja-header { background: transparent; color: #fff; left: 0; position: absolute; right: 0; top: 0; z-index: 20; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.alhaja-header--scrolled { background: rgba(251, 250, 247, .96); box-shadow: 0 1px 0 var(--alhaja-line); color: var(--alhaja-ink); position: fixed; }
.alhaja-header__inner { align-items: center; display: flex; justify-content: space-between; min-height: 88px; }
.alhaja-wordmark { align-items: center; display: inline-flex; font-size: 23px; gap: 11px; letter-spacing: -.025em; text-decoration: none; }
.alhaja-wordmark__mark { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; font-size: 22px; font-style: italic; height: 31px; justify-content: center; line-height: 1; padding-bottom: 3px; width: 31px; }
.alhaja-nav { align-items: center; display: flex; font-size: 12px; font-weight: 600; gap: 31px; letter-spacing: .02em; }
.alhaja-nav a { text-decoration: none; }
.alhaja-nav a:not(.alhaja-button) { opacity: .86; transition: opacity .2s ease; }
.alhaja-nav a:not(.alhaja-button):hover,
.alhaja-nav a:not(.alhaja-button):focus-visible { opacity: 1; }
.alhaja-button { align-items: center; background: var(--alhaja-terracotta); border: 1px solid var(--alhaja-terracotta); color: #fff !important; display: inline-flex; font-family: var(--alhaja-sans); font-size: 12px; font-weight: 700; gap: 18px; justify-content: center; letter-spacing: .01em; padding: 16px 20px; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.alhaja-button:hover,
.alhaja-button:focus-visible { background: var(--alhaja-terracotta-deep); border-color: var(--alhaja-terracotta-deep); color: #fff !important; transform: translateY(-2px); }
.alhaja-button--small { padding: 12px 15px; }
.alhaja-text-link { align-items: center; color: var(--alhaja-terracotta); display: inline-flex; font-size: 12px; font-weight: 700; gap: 12px; text-decoration: none; }
.alhaja-text-link span,
.alhaja-card-link span { font-size: 18px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.alhaja-text-link:hover span,
.alhaja-card-link:hover span { transform: translate(3px, -3px); }
.alhaja-text-link--light { color: #fff; }
.alhaja-menu-toggle { background: transparent; border: 0; color: inherit; display: none; padding: 8px; }
.alhaja-menu-toggle > span:not(.screen-reader-text) { background: currentColor; display: block; height: 1px; margin: 5px 0; width: 25px; }

.alhaja-hero { background: #657368; color: #fff; min-height: min(820px, 100vh); overflow: hidden; position: relative; }
.alhaja-hero__image { background-position: center; background-size: cover; inset: 0; position: absolute; transform: scale(1.02); }
.alhaja-hero__wash { background: linear-gradient(90deg, rgba(25, 37, 30, .78) 0%, rgba(25, 37, 30, .42) 48%, rgba(25, 37, 30, .14) 100%), linear-gradient(0deg, rgba(25, 37, 30, .6) 0%, transparent 48%); inset: 0; position: absolute; }
.alhaja-hero__content { padding-bottom: 130px; padding-top: 210px; position: relative; z-index: 1; }
.alhaja-hero__content h1,
.alhaja-hero__content .alhaja-hero__text { color: #fff !important; text-shadow: 0 2px 22px rgba(16, 24, 19, .58); }
.alhaja-hero .alhaja-eyebrow { color: #e8c2a2; }
.alhaja-hero__text { font-size: 17px; line-height: 1.6; margin-bottom: 32px; max-width: 430px; }
.alhaja-hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 28px; }
.alhaja-hero__stamp { border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; bottom: 115px; display: flex; flex-direction: column; font-family: var(--alhaja-serif); font-size: 13px; height: 134px; justify-content: center; line-height: 1.25; position: absolute; right: 10%; text-align: center; transform: rotate(-11deg); width: 134px; z-index: 1; }
.alhaja-hero__stamp strong { font-size: 17px; font-style: italic; font-weight: 500; }
.alhaja-hero__scroll { align-items: center; bottom: 36px; display: flex; font-size: 10px; gap: 12px; left: max(40px, calc((100vw - 1180px) / 2)); letter-spacing: .13em; opacity: .78; position: absolute; text-transform: uppercase; z-index: 1; }
.alhaja-hero__scroll span { border: 1px solid #fff; border-radius: 50%; height: 24px; position: relative; width: 24px; }
.alhaja-hero__scroll span::after { border-bottom: 1px solid #fff; border-right: 1px solid #fff; content: ''; height: 5px; left: 8px; position: absolute; top: 7px; transform: rotate(45deg); width: 5px; }

.alhaja-intro { background: var(--alhaja-cream); }
.alhaja-intro__grid { display: grid; gap: 12%; grid-template-columns: 1.1fr .9fr; }
.alhaja-intro h2 { max-width: 560px; }
.alhaja-intro__copy { align-self: end; padding-bottom: 8px; }
.alhaja-intro__copy p { color: var(--alhaja-ink-soft); font-size: 19px; line-height: 1.65; margin-bottom: 31px; max-width: 440px; }

.alhaja-services { background: var(--alhaja-paper); }
.alhaja-section-heading { align-items: end; display: flex; gap: 40px; justify-content: space-between; margin-bottom: 66px; }
.alhaja-section-heading h2 { margin-bottom: 0; }
.alhaja-section-heading__aside { color: var(--alhaja-ink-soft); font-size: 15px; line-height: 1.6; margin: 0 0 6px; max-width: 250px; }
.alhaja-services__grid { border-top: 1px solid var(--alhaja-line); display: grid; grid-template-columns: repeat(4, 1fr); }
.alhaja-service-card { border-bottom: 1px solid var(--alhaja-line); min-height: 390px; padding: 29px 28px 31px 0; position: relative; }
.alhaja-service-card:not(:nth-child(4n + 1)) { border-left: 1px solid var(--alhaja-line); padding-left: 28px; }
.alhaja-service-card:nth-child(n + 5) { padding-top: 40px; }
.alhaja-service-card__top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 30px; }
.alhaja-service-card__icon { color: var(--alhaja-terracotta); font-family: var(--alhaja-serif); font-size: 31px; line-height: 1; }
.alhaja-service-card__number { color: var(--alhaja-ink-soft); font-size: 10px; letter-spacing: .13em; opacity: .7; }
.alhaja-service-card h3 { font-size: 34px; letter-spacing: -.04em; line-height: 1; margin-bottom: 11px; }
.alhaja-service-card__kicker { color: var(--alhaja-terracotta); font-family: var(--alhaja-serif); font-size: 16px; font-style: italic; line-height: 1.25; margin-bottom: 18px; }
.alhaja-service-card > p:not(.alhaja-service-card__kicker) { color: var(--alhaja-ink-soft); font-size: 13px; line-height: 1.55; max-width: 205px; }
.alhaja-service-card ul { list-style: none; margin: 23px 0 25px; padding: 0; }
.alhaja-service-card li { color: var(--alhaja-ink-soft); font-size: 12px; padding-left: 15px; position: relative; }
.alhaja-service-card li::before { color: var(--alhaja-terracotta); content: '—'; left: 0; position: absolute; }
.alhaja-card-link { bottom: 29px; color: var(--alhaja-terracotta); font-size: 11px; font-weight: 700; left: 0; text-decoration: none; }
.alhaja-service-card:not(:nth-child(4n + 1)) .alhaja-card-link { left: 28px; }

.alhaja-manifesto { background: var(--alhaja-olive); color: #fff; }
.alhaja-manifesto__grid { align-items: center; display: grid; gap: 11%; grid-template-columns: .85fr 1.15fr; }
.alhaja-manifesto__image { background-position: center; background-size: cover; min-height: 560px; }
.alhaja-manifesto__copy { max-width: 500px; }
.alhaja-manifesto .alhaja-eyebrow { color: #e8c2a2; }
.alhaja-manifesto h2 { max-width: 480px; }
.alhaja-manifesto__copy > p:not(.alhaja-eyebrow) { color: rgba(255, 255, 255, .8); font-size: 17px; line-height: 1.7; max-width: 450px; }
.alhaja-signature { align-items: center; display: flex; gap: 14px; margin-top: 40px; }
.alhaja-signature__line { background: #e8c2a2; height: 1px; width: 52px; }
.alhaja-signature em { font-family: var(--alhaja-serif); font-size: 20px; }

.alhaja-gallery { background: var(--alhaja-cream); }
.alhaja-gallery__grid { align-items: start; display: grid; gap: 24px; grid-template-columns: .9fr 1.1fr .9fr; }
.alhaja-gallery__item { margin: 0; }
.alhaja-gallery__item--tall { margin-top: 70px; }
.alhaja-gallery__item--wide { margin-top: 24px; }
.alhaja-gallery__item img { display: block; height: 360px; object-fit: cover; width: 100%; }
.alhaja-gallery__item--tall img { height: 490px; }
.alhaja-gallery__item figcaption { color: var(--alhaja-ink-soft); font-family: var(--alhaja-serif); font-size: 16px; font-style: italic; padding-top: 13px; }

.alhaja-contact { background: var(--alhaja-terracotta-deep); color: #fff; }
.alhaja-contact__grid { display: grid; gap: 12%; grid-template-columns: .75fr 1.25fr; }
.alhaja-contact .alhaja-eyebrow { color: #edc3a1; }
.alhaja-contact h2 { max-width: 400px; }
.alhaja-contact__intro > p:not(.alhaja-eyebrow) { color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.7; max-width: 355px; }
.alhaja-contact__details { border-top: 1px solid rgba(255, 255, 255, .35); display: flex; flex-direction: column; gap: 5px; margin-top: 45px; padding-top: 18px; }
.alhaja-contact__details span,
.alhaja-contact__details a { color: rgba(255, 255, 255, .75); font-size: 12px; text-decoration: none; }
.alhaja-form-wrap { background: var(--alhaja-paper); color: var(--alhaja-ink); padding: 42px; }
.alhaja-form { font-size: 12px; }
.alhaja-form__row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.alhaja-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; margin-bottom: 24px; text-transform: uppercase; }
.alhaja-form input,
.alhaja-form select,
.alhaja-form textarea { background: transparent; border: 0; border-bottom: 1px solid var(--alhaja-line); border-radius: 0; color: var(--alhaja-ink); display: block; font: 400 15px/1.4 var(--alhaja-sans); margin-top: 7px; outline: none; padding: 10px 0; width: 100%; }
.alhaja-form select { -webkit-appearance: none; appearance: none; background-color: var(--alhaja-paper); background-image: linear-gradient(45deg, transparent 50%, var(--alhaja-terracotta) 50%), linear-gradient(135deg, var(--alhaja-terracotta) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; color-scheme: light; cursor: pointer; padding-right: 32px; }
.alhaja-form select option { background: var(--alhaja-paper); color: var(--alhaja-ink); }
.alhaja-form textarea { resize: vertical; }
.alhaja-form input:focus,
.alhaja-form select:focus,
.alhaja-form textarea:focus { border-bottom-color: var(--alhaja-terracotta); box-shadow: 0 1px 0 var(--alhaja-terracotta); }
.alhaja-form input::placeholder,
.alhaja-form textarea::placeholder { color: #9a9c96; }
.alhaja-form__bottom { align-items: center; display: flex; gap: 20px; justify-content: space-between; margin-top: 10px; }
.alhaja-form__bottom > span { color: var(--alhaja-ink-soft); font-size: 11px; }
.alhaja-form-message { font-size: 13px; line-height: 1.5; margin-bottom: 25px; padding: 14px 16px; }
.alhaja-form-message--success { background: #e6eee5; color: #3d5a41; }
.alhaja-form-message--error { background: #f8e7e1; color: #8f4937; }

.alhaja-footer { background: var(--alhaja-ink); color: #fff; padding: 34px 0; }
.alhaja-footer__inner { align-items: end; display: flex; justify-content: space-between; }
.alhaja-wordmark--footer { font-size: 20px; }
.alhaja-footer p { color: rgba(255, 255, 255, .55); font-size: 11px; margin: 13px 0 0; }
.alhaja-footer__meta { align-items: end; color: rgba(255, 255, 255, .55); display: flex; flex-direction: column; font-size: 11px; gap: 9px; }
.alhaja-footer__meta a { color: #fff; text-decoration: none; }

.alhaja-bodas-renovado-site .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; width: 1px; }
.alhaja-bodas-renovado-site a:focus-visible,
.alhaja-bodas-renovado-site button:focus-visible,
.alhaja-bodas-renovado-site input:focus-visible,
.alhaja-bodas-renovado-site select:focus-visible,
.alhaja-bodas-renovado-site textarea:focus-visible { outline: 2px solid #e8c2a2; outline-offset: 3px; }

@media (max-width: 900px) {
  .alhaja-container { width: min(100% - 48px, 700px); }
  .alhaja-nav { gap: 18px; }
  .alhaja-services__grid { grid-template-columns: repeat(2, 1fr); }
  .alhaja-service-card:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
  .alhaja-service-card:nth-child(2n) { border-left: 1px solid var(--alhaja-line); padding-left: 24px; }
  .alhaja-service-card:nth-child(n + 5) { padding-top: 29px; }
  .alhaja-service-card:nth-child(2n) .alhaja-card-link { left: 24px; }
  .alhaja-service-card:nth-child(4n + 1) .alhaja-card-link { left: 0; }
  .alhaja-manifesto__grid,
  .alhaja-contact__grid { gap: 55px; grid-template-columns: 1fr 1fr; }
  .alhaja-manifesto__image { min-height: 440px; }
}

@media (max-width: 640px) {
  .alhaja-container { width: calc(100% - 40px); }
  .alhaja-section { padding: 82px 0; }
  .alhaja-header__inner { min-height: 75px; }
  .alhaja-menu-toggle { display: block; position: relative; z-index: 3; }
  .alhaja-nav { align-items: stretch; background: var(--alhaja-paper); color: var(--alhaja-ink); display: flex; flex-direction: column; gap: 0; inset: 0 0 auto; opacity: 0; padding: 95px 20px 26px; pointer-events: none; position: fixed; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease; }
  .alhaja-menu-open .alhaja-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .alhaja-nav a { border-bottom: 1px solid var(--alhaja-line); font-family: var(--alhaja-serif); font-size: 25px; font-weight: 500; padding: 14px 0; }
  .alhaja-nav .alhaja-button { border: 0; color: #fff !important; font-family: var(--alhaja-sans); font-size: 12px; margin-top: 17px; padding: 16px 20px; }
  .alhaja-hero { min-height: 700px; }
  .alhaja-hero__content { padding-bottom: 150px; padding-top: 170px; }
  .alhaja-bodas-renovado-site h1 { font-size: clamp(44px, 13vw, 64px); max-width: 500px; }
  .alhaja-hero__text { font-size: 15px; max-width: 310px; }
  .alhaja-hero__actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .alhaja-hero__stamp { bottom: 82px; height: 105px; right: 8%; width: 105px; }
  .alhaja-hero__stamp strong { font-size: 14px; }
  .alhaja-hero__scroll { bottom: 28px; left: 20px; }
  .alhaja-intro__grid,
  .alhaja-manifesto__grid,
  .alhaja-contact__grid { display: block; }
  .alhaja-intro__copy { margin-top: 30px; }
  .alhaja-intro__copy p { font-size: 17px; }
  .alhaja-section-heading { align-items: start; display: block; margin-bottom: 45px; }
  .alhaja-section-heading__aside { margin-top: 20px; }
  .alhaja-services__grid { grid-template-columns: 1fr; }
  .alhaja-service-card,
  .alhaja-service-card:nth-child(n + 5) { min-height: 0; padding: 28px 0 70px; }
  .alhaja-service-card:nth-child(2n),
  .alhaja-service-card:not(:nth-child(4n + 1)) { border-left: 0; padding-left: 0; }
  .alhaja-service-card .alhaja-card-link,
  .alhaja-service-card:nth-child(2n) .alhaja-card-link,
  .alhaja-service-card:not(:nth-child(4n + 1)) .alhaja-card-link { left: 0; }
  .alhaja-service-card h3 { font-size: 35px; }
  .alhaja-manifesto__image { min-height: 370px; margin-bottom: 50px; }
  .alhaja-manifesto__copy > p:not(.alhaja-eyebrow) { font-size: 15px; }
  .alhaja-gallery__grid { display: grid; gap: 35px; grid-template-columns: 1fr; }
  .alhaja-gallery__item--tall,
  .alhaja-gallery__item--wide { margin-top: 0; }
  .alhaja-gallery__item img,
  .alhaja-gallery__item--tall img { height: 370px; }
  .alhaja-form-wrap { margin-top: 45px; padding: 26px 20px; }
  .alhaja-form__row { display: block; }
  .alhaja-form__bottom { align-items: start; flex-direction: column; }
  .alhaja-form__bottom .alhaja-button { width: 100%; }
  .alhaja-footer__inner { align-items: start; flex-direction: column; gap: 28px; }
  .alhaja-footer__meta { align-items: start; }
}

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