/* Self-hosted fonts: the reference body face and a complete Latin serif companion. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Small additions to the original design: navigation and clear care-plan details. */
@media (min-width: 1180px) {
  .site-header .desktop-nav { display: flex; gap: 19px; margin-left: auto; }
  .site-header .desktop-nav a { font-size: 14px; }
  .site-header .header-inner { gap: 24px; }
  .site-header .header-actions { margin-left: 0; gap: 14px; }
}
.stelini-care-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 22px; }
.stelini-care-steps li { padding-left: 18px; border-left: 2px solid #b89b69; }
.stelini-care-steps h3 { font-family: inherit; font-size: 17px; line-height: 1.4; font-weight: 600; margin: 0 0 6px; color: #dfbe7e; }
.stelini-care-steps p { font-size: 15px; line-height: 1.65; margin: 0; color: #d7dfd4; max-width: 540px; }
.stelini-care-price { margin: 24px 0; padding: 20px 0; border-top: 1px solid #d8d0c1; border-bottom: 1px solid #d8d0c1; }
.stelini-price-label { font-size: 14px; margin: 0 0 5px; }
.stelini-price-value { display: flex; align-items: baseline; gap: 7px; margin: 0 0 8px; color: var(--ink, #1b261a); }
.stelini-price-value strong { font-family: var(--font-sans); font-size: 38px; font-weight: 500; line-height: 1.2; }
.stelini-price-value span { font-size: 16px; }
.stelini-price-note { font-size: 14px; line-height: 1.6; margin: 0; }
.hero-subtitle .hero-care-highlight { display: inline-block; max-width: 100%; color: #e0c18a; font-weight: 500; }
/* Starter Plan: the monthly inclusions are visible beside the price. */
.care-grid { align-items: start; }
.care-config { border-top: 3px solid #c5a56e; }
.care-config .eyebrow { margin-bottom: 16px; }
.care-config .stelini-care-price { margin-top: 0; border-top: 0; padding-top: 0; }
.care-config .stelini-price-note { color: #2b4c38; font-weight: 500; }
.stelini-care-included-label { margin: 25px 0 16px; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #746140; }
.stelini-care-included { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.stelini-care-included li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; }
.stelini-care-included svg { width: 20px; height: 20px; margin-top: 2px; color: #a57c40; }
.stelini-care-included strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; color: #253d2f; }
.stelini-care-included p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: #5b685d; }
.stelini-care-extras { margin-top: 24px; padding: 16px; border: 1px solid #baa17355; border-radius: 12px; background: #fffdf780; }
.stelini-care-extras strong { display: block; color: #354c3b; font-size: 13px; font-weight: 600; line-height: 1.5; }
.stelini-care-extras p { color: #5b685d; font-size: 12px; line-height: 1.65; margin: 5px 0 0; }
.stelini-care-questions { max-width: 920px; margin: 36px auto 0; border-top: 1px solid #b99c6755; }
.stelini-care-questions details { border-bottom: 1px solid #b99c6755; padding: 0 4px; }
.stelini-care-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; cursor: pointer; list-style: none; color: #253d2f; font-size: 18px; font-weight: 500; line-height: 1.5; }
.stelini-care-questions summary::-webkit-details-marker { display: none; }
.stelini-care-questions summary::after { content: '+'; flex-shrink: 0; color: #a57c40; font-size: 24px; font-weight: 400; }
.stelini-care-questions details[open] summary::after { content: '−'; }
.stelini-care-questions summary:focus-visible { outline: 2px solid #a57c40; outline-offset: 4px; border-radius: 5px; }
.stelini-care-questions details > p { margin: 0 36px 24px 0; color: #5b685d; font-size: 15px; line-height: 1.8; }
.stelini-care-scope-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 64px; }
.stelini-care-scope h2 { margin: 15px 0 20px; }
.stelini-care-scope .lede { font-size: 17px; line-height: 1.85; }
.stelini-care-examples { list-style: none; margin: 28px 0 0; padding: 0; }
.stelini-care-examples li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 18px; padding: 20px 0; border-top: 1px solid #b38c5433; }
.stelini-care-examples svg { width: 28px; height: 28px; margin-top: 3px; color: #a77c3a; }
.stelini-care-examples h3 { margin: 0 0 6px; color: #253d2f; font-size: 17px; font-weight: 600; line-height: 1.4; }
.stelini-care-examples p { margin: 0; color: #63715f; font-size: 14px; line-height: 1.7; }
.stelini-care-work-photo { margin: 0; background: #f8f5ed; border: 1px solid #b38c5455; border-radius: 24px; overflow: hidden; }
.stelini-care-work-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stelini-care-work-photo figcaption { padding: 19px 24px; color: #53614f; font-size: 12px; line-height: 1.6; }
.stelini-care-boundary { display: grid; grid-template-columns: .65fr 1.8fr; gap: 32px; margin-top: 42px; padding: 24px 28px; border: 1px solid #b38c5440; border-radius: 16px; background: #faf8f2; }
.stelini-care-boundary strong { color: #5c533e; font-size: 13px; line-height: 1.7; font-weight: 600; }
.stelini-care-boundary p { margin: 0; color: #63715f; font-size: 13px; line-height: 1.8; }
@media (max-width: 900px) {
  .stelini-care-scope-layout { grid-template-columns: 1fr; gap: 30px; }
  .stelini-care-work-photo img { aspect-ratio: 16 / 10; }
  .stelini-care-boundary { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  .stelini-care-steps { gap: 18px; margin: 24px 0; }
  .stelini-care-price { margin: 20px 0; }
  .stelini-care-questions summary { font-size: 16px; gap: 16px; }
  .stelini-care-questions details > p { font-size: 14px; margin-right: 12px; }
  .stelini-care-scope .lede { font-size: 15px; line-height: 1.8; }
  .stelini-care-examples li { gap: 14px; }
  .stelini-care-examples h3 { font-size: 16px; }
  .stelini-care-examples p { font-size: 13px; }
  .stelini-care-boundary { padding: 20px; margin-top: 28px; }
}

/* Centered content on a white canvas, without an outer frame. */
html { background: #fff; }
body { background: #fff; }
#app {
  width: min(1440px, calc(100% - 64px));
  margin: 28px auto;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: clip;
}
#app .hero {
  width: calc(100% - 40px);
  margin: 20px auto 24px;
  border: 1px solid #23382a26;
  border-radius: 26px;
  overflow: hidden;
}
@media (min-width: 1180px) and (max-width: 1279px) {
  .site-header .desktop-nav { display: none; }
  .site-header .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  #app { width: calc(100% - 32px); margin: 16px auto; }
  #app .hero { width: calc(100% - 24px); margin: 12px auto 18px; border-radius: 22px; }
}
@media (max-width: 600px) {
  #app { width: calc(100% - 20px); margin: 10px auto; }
  #app .hero { width: calc(100% - 16px); margin: 8px auto 14px; border-radius: 16px; }
  #app .container { width: calc(100% - 32px); }
}

/* A quiet cream panel with gold line art and a separate line of trust signals. */
#app .stelini-premium-strip {
  width: calc(100% - 40px);
  margin: 24px auto 0;
  padding: 28px 34px 0;
  border: 1px solid #c4a06466;
  border-radius: 24px;
  background: linear-gradient(115deg, #faf7ef 0%, #fffdf9 50%, #faf7ef 100%);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px #24372a04;
  letter-spacing: 0;
}
#app .stelini-premium-strip > .container { width: 100%; max-width: none; }
#app .stelini-premium-strip .service-strip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}
#app .stelini-premium-strip .service-strip-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 22px;
  border: 0;
}
#app .stelini-premium-strip .service-strip-list li + li { border-left: 1px solid #b38c5433; }
.stelini-service-emblem {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid #c5a46b66;
  border-radius: 50%;
  background: linear-gradient(145deg, #fffefa, #eee4cf66);
  color: #a77c3a;
}
.stelini-service-emblem svg { width: 28px; height: 28px; }
.stelini-service-label {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: #253d2f;
  text-wrap: balance;
}
.stelini-strip-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 68px);
  list-style: none;
  margin: 25px 0 0;
  padding: 18px 0;
  border-top: 1px solid #b38c5433;
  color: #435647;
}
.stelini-strip-trust li { display: flex; align-items: center; gap: 9px; }
.stelini-strip-trust svg { flex: 0 0 19px; width: 19px; height: 19px; color: #a77c3a; }
.stelini-strip-trust span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  #app .stelini-premium-strip { width: calc(100% - 24px); padding: 24px 22px 0; border-radius: 22px; }
  #app .stelini-premium-strip .service-strip-list li { padding-inline: 14px; }
  .stelini-strip-trust { gap: 26px; }
}
@media (max-width: 700px) {
  #app .stelini-premium-strip { width: calc(100% - 16px); padding: 6px 20px 0; margin-top: 14px; border-radius: 18px; }
  #app .stelini-premium-strip .service-strip-list { grid-template-columns: 1fr; }
  #app .stelini-premium-strip .service-strip-list li {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 0;
    text-align: left;
  }
  #app .stelini-premium-strip .service-strip-list li + li { border-left: 0; border-top: 1px solid #b38c5426; }
  .stelini-service-emblem { width: 46px; height: 46px; flex-basis: 46px; }
  .stelini-service-emblem svg { width: 25px; height: 25px; }
  .stelini-service-label { font-size: 23px; }
  .stelini-strip-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 19px 0; }
  .stelini-strip-trust li { flex-direction: column; gap: 7px; text-align: center; }
  .stelini-strip-trust span { font-size: 10px; letter-spacing: .08em; text-wrap: balance; }
}

/* Light header: original mark with a dark wordmark and restrained gold accents. */
#app > .topline,
#app > .site-header {
  background: #fff;
  color: #253d2f;
  border-color: #e2ded4;
}
#app > .topline { color: #68716a; }
.site-header .brand-image-frame {
  width: 300px;
  aspect-ratio: 260 / 72;
  background: transparent;
}
.site-header .brand-image {
  /* Reposition the original STELINI lettering to the right of its symbol. */
  width: 101.88cqw;
  top: -41.79cqw;
  left: 13.57cqw;
  clip-path: inset(72.8% 15.17% 13.8% 15.36%);
  filter: brightness(0) saturate(100%) invert(18%) sepia(17%) saturate(928%) hue-rotate(90deg) brightness(95%) contrast(88%);
}
.site-header .brand-image-frame::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 23.1cqw;
  background: url('/brand/stelini-logo-gold.png') -19.95cqw -2.62cqw / 62.69cqw 41.79cqw no-repeat;
  clip-path: none;
  pointer-events: none;
  z-index: 1;
}
.site-header .brand-image-frame::after {
  left: 29.23cqw;
  right: 0;
  bottom: 5.38cqw;
  color: #b38c54;
  font-size: 3.46cqw;
  font-weight: 500;
  letter-spacing: 1.05cqw;
  padding-left: 1.05cqw;
  background: linear-gradient(#b38c54, #b38c54) left center / 8% 1px no-repeat,
              linear-gradient(#b38c54, #b38c54) right center / 8% 1px no-repeat;
  z-index: 2;
}
.site-header .header-inner { height: 110px; }
@media (min-width: 1280px) {
  .site-header .desktop-nav { gap: 16px; }
  .site-header .desktop-nav a { font-size: 17px; }
  .site-header .header-inner { gap: 18px; }
  .site-header .header-actions { gap: 10px; }
}
.site-header .desktop-nav a { color: #253d2f; }
.site-header .desktop-nav a:hover,
.site-header .desktop-nav a[aria-current="page"] { color: #8b6735; }
.site-header .language-switch a { color: #68716a; }
.site-header .language-switch a:hover,
.site-header .language-switch a[aria-current="true"] { color: #253d2f; border-color: #b38c54; }
.site-header .topline-contact,
.topline .topline-contact { color: #375440; }
.site-header .topline-contact a:hover,
.topline .topline-contact a:hover { color: #8b6735; }
.site-header .header-cta.estimate-emphasis,
.site-header .mobile-nav .button.estimate-emphasis {
  background: #253d2f;
  color: #fffdf7;
  border: 1px solid #253d2f;
  border-radius: 10px;
}
.site-header .header-cta.estimate-emphasis svg,
.site-header .mobile-nav .button.estimate-emphasis svg { color: #dfbe7e; }
.site-header .header-cta.estimate-emphasis:hover,
.site-header .mobile-nav .button.estimate-emphasis:hover {
  background: #375440;
  color: #fffdf7;
  border-color: #375440;
}
.site-header .mobile-toggle { color: #253d2f; border-radius: 10px; }
.site-header .mobile-toggle:hover { background: #f0ede5; }
.site-header .mobile-menu .mobile-nav {
  color: #253d2f;
  background: #fff;
  border-color: #e2ded4;
  box-shadow: 0 16px 24px #26302614;
}
.site-header .mobile-nav > a:not(.button) { border-bottom-color: #e2ded4; }
.site-header .mobile-nav > a:not(.button):hover,
.site-header .mobile-nav > a[aria-current="page"] { color: #8b6735; }

/* One type system across every language and page. Logo lettering stays separate. */
:root {
  --paper: #fff;
  --font-sans: 'DM Sans', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --stelini-section-radius: 26px;
  --stelini-card-radius: 20px;
  --stelini-control-radius: 12px;
  --stelini-section-inset: 20px;
}
body { font-family: var(--font-sans); }
#app h1,
#app h2,
#app :is(.audience-card, .home-care-config, .care-note, .article-card, .home-article) h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.025em;
}
#app :is(.hours-row output, .hours-row input[type=number], .home-hours-row input,
  .article-visual > span, .detail-symbol > span, .founders > div > span, .about-experience > strong) {
  font-family: var(--font-display);
}
#app .hours-row output span { font-family: var(--font-sans); }

/* Inset section surfaces leave a light gutter around their rounded edges. */
#app main > section,
#app :is(.about-page, .contact-redesign, .careers-simple) > section,
#app .home-lower > section,
#app > .footer {
  width: calc(100% - var(--stelini-section-inset) * 2);
  margin: var(--stelini-section-inset) auto;
  border-radius: var(--stelini-section-radius);
}
#app main > section > .container,
#app :is(.about-page, .contact-redesign, .careers-simple) > section > .container,
#app .home-lower > section > .container,
#app > .footer > .container {
  width: min(1280px, calc(100% - 72px));
}
#app :is(.home-closing, .about-hero, .contact-welcome, .detail-hero,
  .property-services-hero, .faq-hero, .careers-simple-hero) {
  border-radius: var(--stelini-section-radius);
  overflow: clip;
}
#app .home-lower { --home-ivory: #fff; background: transparent; }
#app .home-process { background: #fff; }

/* Clip photographs at the outer card edge; preserve the existing image crops. */
#app :is(.home-intro-layout, .home-care-panel, .home-service-card, .service-card,
  .home-article, .about-team-photo, .contact-map) {
  border-radius: var(--stelini-card-radius);
  overflow: clip;
}
#app :is(.home-intro-photo img, .detail-service-photo img, .article-cover,
  .article-photograph, .article-visual) {
  border-radius: var(--stelini-card-radius);
}
#app :is(.audience-card, .home-record, .home-service-assurance, .home-faq-items,
  .care-config, .care-note, .request-panel, .contact-connect, .contact-choice,
  .faq-index, .property-category, .process-record, .careers-email-card,
  .about-plan-note, .about-core-grid article, .about-expertise-grid article,
  .about-path-grid > div, .contact-path-grid article) {
  border-radius: var(--stelini-card-radius);
}
#app .faq-item { border-radius: 16px; }
#app :is(.button, .home-gold-button, .home-green-button, .home-outline-link,
  .hero-contact, .home-project-tabs a, .project-tabs a, .property-jump a,
  .home-service-number, .home-record-icon, .projects-status,
  .field input:not([type=checkbox]):not([type=radio]):not([type=file]),
  .field select, .field textarea, .hours-row input[type=number], .home-hours-row input) {
  border-radius: var(--stelini-control-radius);
}
#app .text-link.estimate-emphasis { border-radius: var(--stelini-control-radius); }
#app :is(.segmented, .home-frequency-options) {
  border-radius: var(--stelini-control-radius);
}
#app :is(.segmented, .home-frequency-options) label:first-child {
  border-radius: calc(var(--stelini-control-radius) - 1px) 0 0 calc(var(--stelini-control-radius) - 1px);
}
#app :is(.segmented, .home-frequency-options) label:last-child {
  border-radius: 0 calc(var(--stelini-control-radius) - 1px) calc(var(--stelini-control-radius) - 1px) 0;
}
#app .site-header .mobile-nav { border-radius: 0 0 var(--stelini-card-radius) var(--stelini-card-radius); }
#app .care-config .segmented,
#app .home-care-frequency { margin-bottom: 20px; }

@media (max-width: 900px) {
  :root { --stelini-section-inset: 12px; --stelini-section-radius: 22px; }
}
@media (max-width: 600px) {
  :root {
    --stelini-section-inset: 8px;
    --stelini-section-radius: 16px;
    --stelini-card-radius: 16px;
    --stelini-control-radius: 10px;
  }
  #app main > section > .container,
  #app :is(.about-page, .contact-redesign, .careers-simple) > section > .container,
  #app .home-lower > section > .container,
  #app > .footer > .container { width: calc(100% - 32px); }
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0 8px;
    height: auto;
    padding-block: 12px 6px;
  }
  .site-header .brand { grid-area: 1 / 1; width: 252px; max-width: 100%; }
  .site-header .brand-image-frame { width: 100%; }
  .site-header .header-actions { display: contents; }
  .site-header .header-quote-stack { display: none; }
  .site-header .language-switch { grid-area: 2 / 1 / 3 / 3; justify-self: end; }
  .site-header .mobile-menu { grid-area: 1 / 2; justify-self: end; }
}

/* Larger header type with space for the longer Portuguese and Spanish labels. */
.site-header > .header-inner { width: min(1280px, calc(100% - 72px)); }
.site-header .language-switch a { font-size: 15px; }
.site-header .header-cta.estimate-emphasis,
.site-header .mobile-nav .button.estimate-emphasis { font-size: 16px; padding: 15px 20px; }
.site-header .topline-phone { font-size: 18px; }
.site-header .mobile-nav > a:not(.button) { font-size: 19px; }
@media (min-width: 901px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    height: auto;
    gap: 12px;
    padding-block: 14px;
  }
  .site-header > .header-inner { width: min(1328px, calc(100% - 48px)); }
  .site-header .brand { grid-area: 1 / 1; }
  .site-header .header-actions { display: contents; }
  .site-header .header-quote-stack {
    display: flex;
    grid-area: 1 / 3;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 260px;
  }
  .site-header .header-quote-stack .topline-contact { justify-content: center; gap: 4px; }
  .site-header .header-quote-stack .topline-contact a { min-height: 28px; height: 28px; }
  .site-header .header-quote-stack .topline-phone { font-size: 16px; line-height: 1; }
  .site-header .header-quote-stack .topline-whatsapp svg { width: 20px; height: 20px; }
  .site-header .header-cta.estimate-emphasis {
    grid-area: 1 / 3;
    align-self: center;
    justify-content: center;
    min-height: 68px;
    height: 68px;
    max-width: 260px;
    padding: 12px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .site-header .mobile-menu { grid-area: 1 / 4; align-self: start; justify-self: end; }
}
@media (min-width: 1280px) {
  .site-header .brand-image-frame { width: clamp(280px, 22vw, 300px); }
  .site-header .desktop-nav {
    grid-area: 1 / 2;
    align-self: end;
    justify-content: center;
    gap: clamp(12px, 1.2vw, 20px);
    margin-left: 0;
  }
  .site-header .desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 68px;
    font-size: 17px;
    padding-block: 12px;
  }
}

/* Visible options control in the upper-right corner, in every viewport. */
.site-header .mobile-menu .mobile-toggle {
  gap: 7px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #d7cfbe;
  background: #faf9f6;
  border-radius: 10px;
  color: #253d2f;
  font-size: 13px;
  line-height: 1;
}
.site-header .mobile-toggle::after { content: 'Menu'; font-weight: 500; }
html[lang="es"] .site-header .mobile-toggle::after { content: 'Menú'; }
.site-header .mobile-menu[open] .mobile-toggle { border-color: #b38c54; background: #f0ede5; }
@media (max-width: 600px) {
  .site-header .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header .mobile-menu .mobile-toggle { padding: 8px; gap: 5px; }
  .site-header .mobile-toggle svg { width: 20px; height: 20px; }
}

/* A single utility bar keeps contact and language controls on the same baseline. */
#app > .topline {
  height: auto;
  min-height: 44px;
  letter-spacing: .02em;
  border-bottom: 1px solid #eeece6;
}
.topline > .container {
  width: min(1328px, calc(100% - 48px));
  min-height: 44px;
  align-items: center;
}
.topline-utility { display: flex; align-items: center; gap: 20px; }
.topline-utility .topline-contact { gap: 2px; }
.topline-utility .topline-contact a { height: 36px; min-height: 36px; }
.topline-utility .topline-phone { font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .01em; }
.topline-utility .topline-whatsapp { width: 32px; }
.topline-utility .topline-whatsapp svg { width: 20px; height: 20px; }
.topline-utility .language-switch {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 16px;
  border-left: 1px solid #dcd6c9;
}
.topline-utility .language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  width: 36px;
  min-width: 36px;
  padding: 0;
  color: #68716a;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .02em;
}
.topline-utility .language-switch a:is(:hover, [aria-current="true"]) { color: #253d2f; border-color: #b38c54; }
@media (max-width: 900px) {
  .topline .topline-meta { display: none; }
  .topline-utility { width: 100%; justify-content: space-between; }
}
@media (max-width: 600px) {
  .topline > .container { width: calc(100% - 32px); }
  .topline-utility { gap: 12px; }
  .topline-utility .topline-phone { font-size: 14px; }
  .topline-utility .language-switch { padding-left: 12px; }
  .topline-utility .language-switch a { width: 30px; min-width: 30px; font-size: 13px; }
}
@media (max-width: 360px) {
  .topline-utility { gap: 8px; }
  .topline-utility .topline-phone { font-size: 13px; }
  .topline-utility .language-switch { padding-left: 8px; }
  .topline-utility .language-switch a { width: 28px; min-width: 28px; }
}
@media (min-width: 601px) and (max-width: 1279px) {
  .site-header .brand-image-frame { width: 280px; }
}
@media (max-width: 600px) {
  .site-header > .header-inner { width: calc(100% - 32px); }
  .site-header .language-switch a { font-size: 14px; }
  .site-header .mobile-nav { max-height: calc(100dvh - 170px); }
}

/* Movement follows the reference: soft reveals, image wipes and hover feedback. */
:root { --stelini-ease: cubic-bezier(.2, .75, .2, 1); }
html { scroll-behavior: smooth; }
.site-header { transition: background-color .45s, box-shadow .45s; }
.site-header.stelini-header-scrolled {
  background: #fffffff7 !important;
  box-shadow: 0 8px 28px #1c302512;
}

/* Direction-aware compact header. Its reserved space prevents page jumps. */
#app { overflow-anchor: none; }
#app > main { display: flow-root; }
.site-header {
  margin-bottom: max(0px, calc(var(--stelini-header-full-height, 0px) - var(--stelini-header-current-height, 0px)));
}
.site-header .header-inner { transition: height .5s var(--stelini-ease), padding .5s var(--stelini-ease); }
.site-header .brand,
.site-header .brand-image-frame { transition: width .5s var(--stelini-ease); }
.site-header .header-quote-stack { transition: gap .5s var(--stelini-ease), width .5s var(--stelini-ease); }
.site-header .header-quote-stack .topline-contact a { transition: height .5s, min-height .5s, font-size .5s; }
.site-header .desktop-nav a { transition: min-height .5s var(--stelini-ease), font-size .5s, padding .5s, color .3s; }
.site-header .header-cta.estimate-emphasis {
  transition: height .5s var(--stelini-ease), min-height .5s var(--stelini-ease), padding .5s, font-size .5s, background-color .3s, transform .35s, box-shadow .35s;
}
.site-header.stelini-header-measuring,
.site-header.stelini-header-measuring * { transition: none !important; }
@media (min-width: 901px) {
  .site-header.stelini-header-compact .header-inner { padding-block: 8px; }
  .site-header.stelini-header-compact .brand-image-frame { width: 226px; }
  .site-header.stelini-header-compact .header-quote-stack { width: 244px; gap: 2px; }
  .site-header.stelini-header-compact .header-quote-stack .topline-contact a { height: 24px; min-height: 24px; }
  .site-header.stelini-header-compact .header-quote-stack .topline-phone { font-size: 14px; }
  .site-header.stelini-header-compact .header-cta.estimate-emphasis {
    height: 48px; min-height: 48px; padding: 6px 14px; font-size: 14px;
  }
  .site-header.stelini-header-compact .desktop-nav a { min-height: 48px; padding-block: 6px; font-size: 15px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .site-header.stelini-header-compact .header-inner { height: 80px; }
  .site-header.stelini-header-compact .brand-image-frame { width: 226px; }
}
@media (max-width: 600px) {
  .site-header.stelini-header-compact .header-inner { padding-block: 6px; }
  .site-header.stelini-header-compact .brand { width: 190px; }
}
.site-header .desktop-nav a { position: relative; }
.site-header .desktop-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: #b38c54; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--stelini-ease);
}
.site-header .desktop-nav a:is(:hover, :focus-visible, [aria-current="page"])::after { transform: scaleX(1); }
#app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link) {
  --stelini-fill: #375440;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--stelini-ease), background-color .3s, color .3s, box-shadow .35s, border-color .3s;
}
#app :is(.header-cta, .home-green-button, .contact-path-grid .button, .form-actions .button) { --stelini-fill: #375440; }
#app .home-gold-button { --stelini-fill: #94713d; }
#app .about-gold-button { --stelini-fill: #94713d; }
#app :is(.button.secondary, .home-outline-link) { --stelini-fill: #edf1e8; }
#app :is(.hero .button, .projects-actions .button, .audience-card .button, .property-care-promo .button, .faq-help .button, .careers-email-card .button) { --stelini-fill: #dfbe7e; }
#app .faq-index .button.secondary { --stelini-fill: #375440; }
#app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link)::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--stelini-fill); transform: scaleX(0); transform-origin: left;
  transition: transform .55s cubic-bezier(.77, 0, .18, 1);
}
#app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link):is(:hover, :focus-visible)::before { transform: scaleX(1); }
#app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link) svg {
  transition: transform .4s var(--stelini-ease);
}
@media (hover: hover) and (pointer: fine) {
  #app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link):hover {
    transform: translateY(-2px); box-shadow: 0 8px 20px #1c302518;
  }
  #app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link):hover svg { transform: translateX(3px); }
  #app :is(.home-service-card, .service-card, .audience-card, .article-card, .about-core-grid article, .contact-path-grid article) {
    transition: transform .5s var(--stelini-ease), box-shadow .5s, border-color .3s;
  }
  #app :is(.home-service-card, .service-card, .audience-card, .article-card, .about-core-grid article, .contact-path-grid article):hover {
    transform: translateY(-6px); box-shadow: 0 18px 38px #1c302514; border-color: #c7a263;
  }
  #app :is(.home-service-photo, .service-index-photo) img { transition: transform 1.1s var(--stelini-ease); }
  #app :is(.home-service-card, .service-card):hover :is(.home-service-photo, .service-index-photo) img { transform: scale(1.06); }
}
.mobile-menu[open] .mobile-nav { animation: stelini-menu-in .4s var(--stelini-ease) both; }
.mobile-menu[open] .mobile-nav > a { animation: stelini-fade-up .5s var(--stelini-ease) backwards; }
.mobile-menu[open] .mobile-nav > a:nth-child(2) { animation-delay: 40ms; }
.mobile-menu[open] .mobile-nav > a:nth-child(3) { animation-delay: 80ms; }
.mobile-menu[open] .mobile-nav > a:nth-child(n+4) { animation-delay: 120ms; }
[data-stelini-reveal="up"].stelini-reveal-wait { opacity: 0; transform: translateY(26px); }
[data-stelini-reveal="up"].stelini-reveal-in { animation: stelini-fade-up .8s var(--stelini-ease) var(--stelini-delay, 0ms) backwards; }
[data-stelini-reveal="media"].stelini-reveal-wait img { clip-path: inset(0 0 0 100%); }
[data-stelini-reveal="media"].stelini-reveal-in img { animation: stelini-image-in 1.45s cubic-bezier(.2, .7, .2, 1) var(--stelini-delay, 0ms) both; }
#app .stelini-hero-enter { animation: stelini-image-in 1.65s cubic-bezier(.2, .7, .2, 1) both; }
.home-step-meta span { transition: color .6s, background-color .6s; }
.stelini-reveal-in .home-step-meta span { background: #c7a263; color: #1c3025; }
@keyframes stelini-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stelini-image-in {
  from { clip-path: inset(0 0 0 100%); scale: 1.08; }
  to { clip-path: inset(0); scale: 1; }
}
@keyframes stelini-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #app *, #app *::before, #app *::after {
    animation: none !important;
    transition: none !important;
  }
  #app [data-stelini-reveal], #app .stelini-hero-enter {
    opacity: 1 !important; transform: none !important; clip-path: none !important; scale: 1 !important;
  }
  #app [data-stelini-reveal="media"] img { clip-path: none !important; scale: 1 !important; }
  #app :is(.button, .header-cta, .home-gold-button, .home-green-button, .home-outline-link, .home-service-card, .service-card, .audience-card, .article-card):hover { transform: none; }
}

/* Use large monitors more fully while retaining readable article and form widths. */
@media (min-width: 1440px) {
  #app { width: calc(100% - 48px); margin: 20px auto; }
  #app main > section > .container:not(.article-container),
  #app :is(.about-page, .contact-redesign, .contact-raul-layout, .careers-simple) > section > .container:not(.article-container),
  #app .home-lower > section > .container:not(.article-container),
  #app > .footer > .container {
    width: calc(100% - 96px);
    max-width: 1920px;
  }
  #app > .topline > .container,
  #app > .site-header > .header-inner {
    width: calc(100% - 64px);
    max-width: 1920px;
  }
  #app > .site-header .mobile-menu { display: block; position: relative; }
  #app > .site-header .mobile-toggle { display: flex; }
  #app > .site-header .mobile-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: 320px;
    max-width: calc(100vw - 96px);
    max-height: calc(100vh - 150px);
    max-height: min(680px, calc(100dvh - 150px));
    overflow-y: auto;
    padding: 12px 20px 16px;
    border: 1px solid #d7cfbe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px #20372b18;
    z-index: 50;
  }
  #app > .site-header .mobile-menu[open] .mobile-nav { display: block; }
  #app > .site-header .mobile-nav > a:not(.button) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid #eeece6;
    color: #253d2f;
    font-size: 16px;
    line-height: 1.4;
  }
  #app > .site-header .mobile-nav > .button { display: flex; justify-content: center; width: 100%; margin-top: 12px; white-space: normal; }
}
