/* Homepage art direction. Source for the generated site-next/home.css. */
.home {
  --bg: #121514;
  --surface: #181c1a;
  --text: #f4f2ed;
  --muted: #c4c7c1;
  --accent: #d6ad68;
  --border: #3b403b;
  --focus-ring: var(--accent);
  --focus-width: 2px;
  --focus-offset: 5px;
  --target-min: 24px;
  --home-width: 1400px;
  --home-gutter: clamp(1.25rem, 4vw, 4rem);
  --home-space: clamp(2.5rem, 5vw, 5rem);
  background: #222522;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
}
.home main, .home .site-header, .home .site-footer { max-width: var(--home-width); margin-inline: auto; background: var(--bg); }
.home .container { width: auto; margin-inline: var(--home-gutter); }
.home main { border-inline: 1px solid #303530; }
.home .site-header { border-inline: 1px solid #303530; background: #101312; }
.home .header-inner { min-height: 96px; flex-direction: row; gap: 1.5rem; }
.home .brand { display: block; flex-shrink: 0; }
.home .brand img { width: clamp(180px, 23vw, 275px); height: auto; }
.home .header-tools { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.home .language-switcher { gap: .5rem; margin: 0; }
.home .language-switcher a { border: 0; border-radius: 0; min-height: 44px; display: grid; align-items: center; padding: .5rem .2rem; font-size: .875rem; letter-spacing: .1em; text-decoration: none; border-bottom: 2px solid transparent; }
.home .language-switcher a[aria-current="page"] { border-bottom-color: var(--accent); }
.home .header-contact { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--muted); padding: .7rem 1.5rem; text-decoration: none; text-transform: uppercase; font-size: .875rem; letter-spacing: .12em; }
.home .menu { position: relative; }
.home .menu > summary { list-style: none; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.home .menu > summary::-webkit-details-marker { display: none; }
.home .menu-lines { display: block; width: 32px; height: 20px; border-block: 1px solid var(--text); position: relative; }
.home .menu-lines::after { content: ""; position: absolute; top: 9px; left: 0; width: 32px; border-top: 1px solid var(--text); }
.home .menu[open] > summary { background: var(--surface); }
.home .menu nav { position: absolute; top: calc(100% + 1rem); right: 0; width: min(290px, calc(100vw - 3rem)); padding: .75rem; border: 1px solid var(--border); background: #101312; display: flex; flex-direction: column; gap: 0; box-shadow: 0 15px 40px #0005; }
.home .menu nav a { padding: .8rem 1rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
.home .menu nav a:last-child { border: 0; }
.home :is(a, summary):focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); }
.home .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home .hero { min-height: 0; display: grid; grid-template-columns: .94fr 1.06fr; align-items: stretch; overflow: visible; }
.home .hero-content { margin: 0; width: auto; max-width: none; text-align: left; padding: clamp(2.5rem, 4.5vw, 4.5rem) clamp(1.5rem, 3vw, 3rem) clamp(2.5rem, 4.5vw, 4.5rem) var(--home-gutter); display: flex; flex-direction: column; justify-content: center; }
.home .eyebrow { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 1.5rem; color: var(--muted); font-size: .875rem; letter-spacing: .17em; line-height: 1.6; }
.home .eyebrow::after { content: ""; display: block; width: 48px; flex-shrink: 0; border-top: 2px solid var(--accent); }
.home h1 { margin: 0 0 1.4rem; font-size: clamp(2.5rem, 4.5vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 650; overflow-wrap: break-word; }
.home h1 span { display: block; color: var(--accent); }
.home .hero-summary { margin: 0 0 1.8rem; color: #dbddd7; max-width: 35ch; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.55; }
.home .hero-actions { display: grid; justify-content: stretch; gap: .85rem; max-width: 390px; }
.home .button { min-height: 52px; border-radius: 0; padding: .95rem 1.5rem; justify-content: space-between; gap: 1.25rem; font-size: .875rem; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
.home .button span[aria-hidden] { font-size: 1.5rem; line-height: 1; font-weight: 400; }
.home .button-primary { background: linear-gradient(110deg, #e9c58a, #c79b57); color: #151712; }
.home .button-secondary { color: var(--text); border-color: var(--accent); background: transparent; }
.home .button:hover, .home .header-contact:hover { filter: brightness(1.12); }
.home .hero-visual { position: relative; margin: 0; min-width: 0; min-height: 650px; }
.home .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 54%; }
.home .hero-visual figcaption { position: absolute; right: 1.25rem; bottom: 1.25rem; padding: .55rem .85rem; background: #121514cf; color: var(--text); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.home .section { padding-block: var(--home-space); border-top: 1px solid var(--border); scroll-margin-top: 110px; }
.home #servicios, .home #proyectos { padding-block: 2rem; }
.home .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.home .section-heading h2 { margin: 0; display: flex; align-items: center; gap: 1.5rem; font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; line-height: 1.6; }
.home .section-heading h2::after { content: ""; width: 60px; border-top: 2px solid var(--accent); flex-shrink: 0; }
.home .section-heading > p { margin: 0; color: var(--muted); font-size: .875rem; }
.home .section-heading .text-link { font-size: .875rem; font-weight: 500; white-space: nowrap; }
.home .service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: column; grid-template-rows: repeat(3,auto); gap: 0 5rem; align-items: start; }
.home .service-row { border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.home .service-row summary { display: flex; align-items: center; gap: 1.8rem; min-height: 66px; padding-block: .8rem; cursor: pointer; list-style: none; }
.home .service-row summary::-webkit-details-marker { display: none; }
.home .service-row h3 { font-size: 1.25rem; font-weight: 450; line-height: 1.35; margin: 0; }
.home .service-number { font-size: 1rem; color: var(--muted); min-width: 30px; font-weight: 300; }
.home .service-toggle { margin-left: auto; color: var(--accent); font-size: 1.5rem; font-weight: 300; transition: transform .15s; }
.home .service-row[open] .service-toggle { transform: rotate(45deg); }
.home .service-description { padding: 0 0 1.25rem 3.7rem; }
.home .service-description p { margin: 0 0 .75rem; color: var(--muted); font-size: 1rem; }
.home .projects { background: var(--bg); }
.home .portfolio-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.home .featured-bathroom { margin: 0; border: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.home .featured-bathroom > img { width: 100%; flex: 1; min-height: 0; height: 480px; object-fit: cover; object-position: center 54%; }
.home .featured-bathroom-media { display: block; flex: 1; min-height: 480px; position: relative; }
.home .featured-bathroom-media img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.home .featured-bathroom figcaption, .home .featured-bathroom-body { padding: 1rem 1.25rem; }
.home .featured-bathroom figcaption > span, .home .featured-bathroom-body > span { display: block; font-size: .875rem; color: var(--accent); margin-bottom: .25rem; }
.home .featured-bathroom h3 a { text-decoration: none; }
.home .featured-bathroom a:hover, .home .featured-bathroom a:focus-visible { color: var(--accent); }
.home .featured-project-facts { font-size: .875rem; color: var(--muted); margin: .75rem 0; }
.home .featured-bathroom h3 { font-size: 1.75rem; font-weight: 500; margin: 0; }
.home .project-grid { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
.home .project-card { flex: 1; display: grid; grid-template-columns: 36% 1fr; border: 1px solid var(--border); border-radius: 0; background: transparent; }
.home .project-card-media { min-height: 130px; position: relative; }
.home .project-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.home .project-card-body { padding: 1rem 1.15rem; justify-content: center; }
.home .project-card .project-meta { font-size: .875rem; font-weight: 400; margin-bottom: .4rem; }
.home .project-card h3 { font-size: clamp(1.05rem, 1.65vw, 1.4rem); font-weight: 450; line-height: 1.25; margin: 0; }
.home .project-card-body > p:not(.project-meta), .home .project-tags { display: none; }
.home .capabilities { background: #191e1b; }
.home .capability-header h2, .home .tiers h2, .home .planner h2, .home .contact h2 { font-size: clamp(2rem,3.3vw,3rem); letter-spacing: -.03em; font-weight: 550; max-width: 25ch; }
.home .capability-layout { gap: 3rem; }
.home .capability-lead, .home .capability-gallery img { border-radius: 0; }
.home .capability-lead img { height: 420px; }
.home .capability-gallery img { height: 210px; }
.home .capability-list span, .home .capability-gallery figcaption, .home .capability-services span { font-size: .875rem; }
.home .capability-services span { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); padding-inline: 0; margin-right: 1rem; }
.home .tiers { background: #d8c7af; color: #20251f; }
.home .tiers .eyebrow { color: #343b32; }
.home .tiers .eyebrow::after { border-color: #454b3e; }
.home .tier-grid { gap: 0; border-block: 1px solid #8c897a; }
.home .tier-card, .home .tier-card-featured { background: transparent; color: inherit; border: 0; border-right: 1px solid #8c897a; border-radius: 0; padding: 1.5rem; box-shadow: none; }
.home .tier-card:last-child { border-right: 0; }
.home .tier-card > p { color: #30372e; }
.home .tier-card .tier-label { color: #20251f; }
.home .tier-price { font-size: 1rem; }
.home .tier-price span { font-size: clamp(2rem,3.8vw,3.5rem); }
.home .tier-disclaimer { color: #333b30; font-size: .875rem; max-width: 85ch; }
.home .tier-badge { background: #374032; color: #fff; border-radius: 0; font-size: .75rem; }
.home .planner { background: #191e1b; }
.home .planner-grid { gap: 2rem; }
.home .badge { font-size: .75rem; }
.home .contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.home .contact-actions .button { text-transform: none; letter-spacing: 0; font-size: 1rem; overflow-wrap: anywhere; }
.home .site-footer { padding-block: 1.5rem; border: 1px solid var(--border); color: var(--muted); }
.home .footer-main { display: grid; grid-template-columns: 1fr .8fr 1.2fr; align-items: center; gap: 2rem; padding-bottom: 1.5rem; }
.home .footer-main > p { border-inline: 1px solid var(--border); padding-inline: 2rem; font-size: 1rem; }
.home .footer-main > div { display: grid; gap: .4rem; }
.home .footer-main a:not(.brand) { font-size: 1rem; text-decoration: none; overflow-wrap: anywhere; }
.home .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .875rem; }
@media (min-width: 1400px) { .home { padding-block: 1.5rem; } }
@media (max-width: 1000px) {
  .home .hero-content { padding-right: 1.5rem; }
  .home .hero-visual { min-height: 600px; }
  .home .service-grid { column-gap: 2.5rem; }
  .home .portfolio-layout { grid-template-columns: .9fr 1.1fr; }
  .home .project-card { grid-template-columns: 32% 1fr; }
  .home .footer-main { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .home .footer-main > p { display: none; }
}
@media (max-width: 720px) {
  .home .header-inner { min-height: 80px; gap: .5rem; align-items: center; padding-block: 0; }
  .home .brand img { width: 175px; }
  .home .header-tools { gap: .6rem; }
  .home .header-contact { display: none; }
  .home .language-switcher { gap: .2rem; }
  .home .language-switcher a { min-width: 26px; letter-spacing: 0; }
  .home .menu > summary { width: 40px; }
  .home .hero { grid-template-columns: 1fr; }
  .home .hero-content { padding: 2rem var(--home-gutter); }
  .home h1 { font-size: clamp(2.5rem,8vw,3.5rem); max-width: 17ch; }
  .home .hero-summary { max-width: 48ch; }
  .home .hero-actions { max-width: none; }
  .home .hero-visual { min-height: 0; height: 440px; }
  .home .hero-image { object-position: 50% 52%; }
  .home .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .home .section-heading > p { display: none; }
  .home .service-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .home .service-row h3 { font-size: 1.125rem; }
  .home .portfolio-layout { grid-template-columns: 1fr; }
  .home .featured-bathroom > img { flex: auto; height: auto; max-height: 520px; }
  .home .featured-bathroom-media { flex: auto; min-height: 0; }
  .home .featured-bathroom-media img { position: static; height: auto; max-height: 520px; }
  .home .project-card { grid-template-columns: 1fr; }
  .home .project-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .home .project-card-body { padding: 1rem 1.1rem 1.2rem; }
  .home .project-card h3 { font-size: 1.2rem; }
  .home .capability-layout { grid-template-columns: 1fr; }
  .home .capability-lead img { height: 340px; }
  .home .capability-gallery img { height: 220px; }
  .home .tier-card, .home .tier-card-featured { border-right: 0; border-bottom: 1px solid #8c897a; padding-inline: 0; }
  .home .tier-card:last-child { border-bottom: 0; }
  .home .footer-main { grid-template-columns: 1fr; }
  .home .contact-actions { display: grid; }
}
@media (max-width: 720px) {
  .home .capabilities { padding-block: 2.25rem; }
  .home .capability-header { margin-bottom: 1.5rem; }
  .home .capability-header > p:last-child { font-size: .98rem; }
  .home .capability-layout { gap: 1.5rem; }
  .home .capability-list { margin-block: 1rem; }
  .home .capability-list li { padding-block: .65rem; }
  .home .capability-note { margin-block: 1rem; }
  .home .capability-actions { gap: .9rem; }
  .home .capability-lead img { height: 240px; }
  .home .capability-gallery-block { margin-top: 1.5rem; padding-top: 1.25rem; }
  .home .capability-gallery-block > p { margin: 0 0 1rem; font-size: .92rem; }
  .home .capability-gallery { gap: .65rem; }
  .home .capability-gallery img { height: 145px; }
  .home .capability-gallery figcaption { padding-top: .4rem; font-size: .78rem; line-height: 1.35; }
}
@media (max-width: 380px) {
  .home .brand img { width: 140px; }
  .home .header-inner { margin-inline: .8rem; }
  .home .header-tools { gap: .25rem; }
  .home .hero-visual { height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
}
