* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--color-gold-light); outline-offset: 6px; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--color-gold); color: var(--color-ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.hero-stage { position: relative; isolation: isolate; min-height: 100svh; background: var(--color-background) url('../img/casa-contemporanea.png') center center / cover no-repeat; }
.hero-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 12, 17, .87) 0%, rgba(5, 12, 17, .61) 31%, rgba(5, 12, 17, .08) 65%, rgba(5, 12, 17, .2) 100%), linear-gradient(0deg, rgba(5, 12, 17, .62), transparent 27%, transparent 85%, rgba(5, 12, 17, .2)); }
.site-header { position: relative; z-index: 3; background: var(--color-header); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.navbar { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand img { object-fit: contain; display: block; height: auto; }
.brand .brand-symbol { width: 65px; }
.brand-name { color: #ffffff; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: .015em; white-space: nowrap; }
.main-navigation { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link { position: relative; border: 0; padding: 16px 0; background: none; color: var(--color-text-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; white-space: nowrap; }
.nav-link.is-active { color: var(--color-gold); }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--color-gold); transform: scaleX(0); transform-origin: center; transition: transform .3s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }
a.nav-link { transition: color .2s ease; }
a.nav-link:hover { color: var(--color-gold); }
.menu-toggle { display: none; }

.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 51px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease; }
.button-arrow { width: 19px; height: 19px; flex-shrink: 0; transition: transform .25s ease; }
.button-gold { color: var(--color-ink); background: var(--gradient-gold); box-shadow: 0 5px 25px rgba(0, 0, 0, .15); }
.button-outline { color: var(--color-gold); border-color: var(--color-gold); background: rgba(4, 11, 15, .25); }
.header-quote { min-height: 43px; padding: 0 18px; gap: 14px; font-size: 10px; }
a.button::before { content: ''; position: absolute; inset: -50% auto -50% -70%; width: 40%; z-index: -1; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent); transition: left .6s ease; }
a.button:hover, a.button:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(232, 179, 79, .25); }
a.button:hover::before, a.button:focus-visible::before { left: 135%; }
a.button:hover .button-arrow, a.button:focus-visible .button-arrow { transform: translateX(4px); }
.button-outline:hover { background: var(--color-gold); color: var(--color-ink); }
a.button:active { transform: translateY(-1px); }
.button-projects { color: var(--color-text-muted); border-color: rgba(248, 248, 246, .6); background: rgba(6, 14, 19, .25); opacity: .7; }

.hero { min-height: max(570px, calc(100svh - 93px)); position: relative; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding-block: 90px 112px; }
.hero-content { max-width: 660px; animation: enter .8s ease both; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; color: var(--color-gold); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.eyebrow span { width: 112px; height: 1px; background: linear-gradient(90deg, var(--color-gold), rgba(232, 179, 79, .2)); }
h1 { margin: 0; font-size: clamp(36px, 3.6vw, 54px); font-weight: 750; line-height: 1.11; letter-spacing: -.035em; }
h1 span { color: var(--color-gold); }
.hero-description { max-width: 490px; margin: 21px 0 0; font-size: 16px; line-height: 1.7; color: var(--color-text-muted); }
.hero-description strong { font-weight: 700; color: var(--color-text); }
.hero-actions { display: flex; gap: 16px; margin-top: 31px; }
.hero-benefits { flex: 0 0 214px; padding: 26px 22px; border-left: 1px solid var(--color-border); background: var(--color-panel); backdrop-filter: blur(8px); animation: enter 1s .12s ease both; }
.hero-benefits ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.hero-benefits li { display: flex; align-items: center; gap: 14px; }
.hero-benefits svg { flex: 0 0 30px; width: 30px; height: 32px; color: var(--color-gold); }
.hero-benefits p { margin: 0; font-size: 13px; line-height: 1.55; font-weight: 600; }
.hero-benefits p span { font-weight: 400; color: var(--color-text-muted); }

.maintenance-section { background: #ffffff; color: var(--color-ink); }
.maintenance-banner { display: flex; align-items: center; justify-content: center; gap: 46px; min-height: 270px; padding-block: 30px; }
.maintenance-illustration { display: block; flex-shrink: 0; width: 240px; height: 210px; object-fit: contain; }
.maintenance-banner h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }

.site-footer { background: var(--color-background); border-top: 1px solid var(--color-border); }
.footer-main { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-block: 32px; }
.footer-brand { justify-self: start; }
.footer-brand .brand-symbol { width: 46px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-location { display: flex; align-items: flex-start; gap: 13px; }
.footer-location > svg { flex: 0 0 23px; width: 23px; height: 25px; margin-top: 2px; color: var(--color-gold); }
.footer-label { margin: 0 0 9px; color: var(--color-gold); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-location address { font-style: normal; }
.footer-address { display: grid; gap: 4px; color: var(--color-text-muted); font-size: 12px; line-height: 1.55; transition: color .2s ease; }
.footer-address:hover, .footer-address:focus-visible { color: var(--color-text); }
.footer-map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--color-gold); font-size: 10px; }
.footer-map-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.footer-address:hover .footer-map-link svg { transform: translate(2px, -2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 17px; border-top: 1px solid rgba(255, 255, 255, .09); color: var(--color-text-muted); font-size: 10px; }
.footer-bottom p { margin: 0; line-height: 1.6; }
.footer-credit { color: var(--color-gold); text-underline-offset: 3px; }
.footer-credit:hover, .footer-credit:focus-visible { text-decoration: underline; }
.footer-phone { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; transition: color .2s ease; }
.footer-phone svg { width: 15px; height: 15px; color: var(--color-gold); }
.footer-phone:hover, .footer-phone:focus-visible { color: var(--color-gold); }

@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1800px) { .hero-stage { background-position: center 58%; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .navbar { gap: 20px; }
  .main-navigation { gap: 18px; }
  .brand .brand-symbol { width: 54px; }
  .brand-name { font-size: 21px; }
  .header-quote { padding-inline: 14px; gap: 8px; }
  .hero { gap: 30px; }
  .hero-benefits { flex-basis: 195px; padding-inline: 17px; }
}
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr auto; gap: 26px; }
  .navbar { min-height: 80px; }
  .header-quote { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; order: 3; width: 44px; height: 44px; background: none; border: 1px solid var(--color-border); border-radius: 4px; color: var(--color-gold); cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 32px 24px; background: #0c171e; border-bottom: 1px solid var(--color-border); }
  .main-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { text-align: left; padding: 14px 0; font-size: 12px; }
  .nav-link::after { width: 32px; }
  .hero { min-height: max(610px, calc(100svh - 81px)); gap: 48px; padding-block: 80px; }
  .hero-content { max-width: 530px; }
  .hero-benefits { flex-basis: 185px; }
  .hero-description { font-size: 15px; }
}
@media (max-width: 720px) {
  .maintenance-banner { gap: 24px; min-height: 200px; padding-block: 24px; }
  .maintenance-illustration { width: 140px; height: 150px; }
  .maintenance-banner h2 { font-size: 29px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding-block: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 20px; }
  .container { width: calc(100% - 40px); }
  .hero-stage { background-position: 62% center; }
  .hero-stage::before { background: linear-gradient(90deg, rgba(5, 12, 17, .81), rgba(5, 12, 17, .38)), linear-gradient(0deg, rgba(5, 12, 17, .86), transparent 50%); }
  .navbar { min-height: 76px; gap: 12px; }
  .brand { gap: 7px; }
  .brand .brand-symbol { width: 48px; }
  .brand-name { font-size: 20px; }
  .header-quote { display: none; }
  .menu-toggle { margin-left: auto; }
  .main-navigation { padding-inline: 20px; }
  .hero { min-height: calc(100svh - 77px); display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 54px; padding-block: 70px 40px; }
  .hero-content { max-width: 560px; }
  .eyebrow { font-size: 12px; gap: 14px; margin-bottom: 18px; }
  .eyebrow span { width: 70px; }
  h1 { font-size: clamp(32px, 6.9vw, 46px); line-height: 1.17; }
  .hero-description { max-width: 440px; margin-top: 20px; font-size: 15px; }
  .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .button { padding-inline: 18px; gap: 14px; }
  .hero-benefits { flex: initial; padding: 22px 16px; }
  .hero-benefits ul { display: flex; justify-content: space-between; gap: 15px; }
  .hero-benefits li { flex-direction: column; align-items: flex-start; gap: 9px; }
  .hero-benefits svg { flex-basis: auto; width: 26px; height: 28px; }
  .hero-benefits p { font-size: 11px; }
}
@media (max-width: 360px) { .container { width: calc(100% - 32px); } .hero-actions .button { width: 100%; } .hero-benefits ul { gap: 10px; } .hero-benefits { padding-inline: 12px; } .hero-benefits p { font-size: 10px; } .maintenance-banner { gap: 16px; } .maintenance-illustration { width: 110px; height: 130px; } .maintenance-banner h2 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
