:root{
  --ink:#242321;
  --charcoal:#121c21;
  --charcoal-soft:#1b282e;
  --paper:#fffefa;
  --ivory:#f7f2e9;
  --warm:#eee4d6;
  --gold:#bd8f3e;
  --gold-dark:#9b7130;
  --line:#ddd2c3;
  --muted:#66625c;
  --shadow:0 18px 50px rgba(33,28,20,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
button,a{touch-action:manipulation}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

h1,h2,h3{font-family:"Cormorant Garamond",Georgia,serif;line-height:1.04;margin:0;color:var(--ink)}
h1{font-size:clamp(3.3rem,6.1vw,6.7rem);font-weight:600;letter-spacing:-.035em}
h1 span{font-weight:500}
h2{font-size:clamp(2.45rem,4vw,4.1rem);font-weight:600;letter-spacing:-.025em}
h3{font-size:clamp(1.55rem,2vw,2rem);font-weight:600}
p{margin:0}

.site-header{position:sticky;top:0;z-index:100;min-height:108px;display:flex;align-items:center;gap:2.2rem;padding:.65rem clamp(1rem,4vw,4.5rem);background:rgba(255,254,250,.97);border-bottom:1px solid rgba(189,143,62,.18);backdrop-filter:blur(14px)}
.brand{flex:0 0 auto;display:block}
.brand img{width:190px;height:88px;object-fit:contain;object-position:left center}
.main-nav{margin-left:auto;display:flex;align-items:center;gap:clamp(1.15rem,2.3vw,2.4rem)}
.main-nav a{position:relative;text-decoration:none;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.18rem;font-weight:600;color:#37332e;padding:.45rem 0}
.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:.2rem;height:1px;background:var(--gold);transition:right .25s ease}
.main-nav a:hover:after,.main-nav a:focus-visible:after{right:0}
.menu-toggle{display:none;border:0;background:transparent;padding:.5rem;cursor:pointer}
.menu-toggle span:not(.sr-only){display:block;width:27px;height:2px;margin:5px 0;background:var(--ink)}

.button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:50px;padding:.82rem 1.35rem;border:1px solid transparent;text-decoration:none;font-weight:600;transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}
.button:hover{transform:translateY(-2px)}
.button-gold{background:var(--gold);color:#fff;box-shadow:0 8px 22px rgba(189,143,62,.18)}
.button-gold:hover{background:var(--gold-dark)}
.button-outline{background:#fff;border-color:#d5cec4;color:var(--ink)}
.button-outline:hover{border-color:var(--gold)}
.button svg{width:20px;height:20px;fill:currentColor}
.header-cta{white-space:nowrap}

.hero{min-height:690px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);background:var(--ivory);overflow:hidden}
.hero-copy{padding:clamp(5rem,8vw,8.5rem) clamp(1.4rem,5vw,6.7rem);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:
  radial-gradient(circle at 15% 10%,rgba(255,255,255,.95),transparent 42%),
  linear-gradient(120deg,#fbf8f2 0%,#f4ede3 100%)}
.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.77rem;font-weight:700;color:var(--gold-dark);margin-bottom:1.2rem}
.eyebrow.dark{color:var(--gold-dark)}
.title-rule{width:34px;height:2px;background:var(--gold);margin:1.55rem 0}
.title-rule.centered{margin-left:auto;margin-right:auto}
.hero-lead{max-width:610px;font-size:clamp(1.05rem,1.6vw,1.35rem);color:#53504b;line-height:1.65}
.actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2.15rem}
.hero-image{min-height:690px;background:
  linear-gradient(90deg,rgba(247,242,233,.1),transparent 22%),
  url('assets/arquitectura-hero.webp') center/cover no-repeat}

.principles{padding:3rem clamp(1rem,5vw,5.5rem);background:#fff;border-top:1px solid #eee6da;border-bottom:1px solid #eee6da}
.principle-grid{max-width:1220px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr)}
.principle-grid article{text-align:center;padding:1.7rem 3rem;border-right:1px solid var(--line)}
.principle-grid article:last-child{border-right:0}
.line-icon,.area-icon{display:flex;align-items:center;justify-content:center;color:var(--gold);margin:0 auto 1rem}
.line-icon svg{width:52px;height:52px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.principle-grid h3{margin-bottom:.55rem}
.principle-grid p{font-size:.9rem;color:var(--muted);max-width:300px;margin:auto}

.about{display:grid;grid-template-columns:minmax(380px,.8fr) minmax(520px,1.2fr);min-height:480px;background:var(--paper)}
.about-copy{padding:clamp(4rem,7vw,7rem) clamp(1.5rem,6vw,7rem);display:flex;flex-direction:column;justify-content:center}
.about-copy h2{max-width:650px}
.about-copy p:last-child{max-width:660px;color:#55514c;font-size:1.02rem}
.about-image{background:
  linear-gradient(rgba(24,20,15,.04),rgba(24,20,15,.09)),
  url('assets/arquitectura-estudio.webp') center/cover no-repeat;min-height:480px}

.areas,.team,.contact{padding:clamp(4.8rem,8vw,8rem) clamp(1rem,6vw,7rem)}
.areas{background:var(--ivory)}
.section-heading{text-align:center;max-width:900px;margin:0 auto 3.7rem}
.section-heading.compact{margin-bottom:2.6rem}
.section-heading .eyebrow{margin-bottom:.65rem}
.area-grid,.team-grid{max-width:1220px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.area-grid article{background:#fff;padding:2.1rem 2rem 2.3rem;border:1px solid #e4dbce;box-shadow:0 5px 24px rgba(50,38,24,.035);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.area-grid article:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#d2bd99}
.area-icon{justify-content:flex-start;margin:0 0 1rem}
.area-icon svg{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.card-kicker{text-transform:uppercase;letter-spacing:.13em;font-size:.7rem;font-weight:700;color:var(--gold-dark);margin-bottom:.45rem}
.area-grid h3{margin-bottom:.85rem}
.area-grid p:last-child{color:var(--muted);font-size:.94rem}

.team{background:#fff}
.team-grid{gap:1.35rem}
.team-grid article{position:relative;padding:2rem 1.8rem 2.1rem;border-left:2px solid var(--gold);background:linear-gradient(140deg,#fff 0%,#fbf7f0 100%);box-shadow:0 10px 35px rgba(42,34,24,.045)}
.team-symbol{font-family:Georgia,serif;font-size:2.2rem;line-height:1;color:var(--gold);margin-bottom:.7rem}
.team-grid h3{margin-bottom:1rem}
.team-grid p{color:#5c5853;font-size:.9rem;line-height:1.72}

.contact{background:var(--paper);border-top:1px solid #eee6da}
.contact-grid{max-width:1220px;margin:auto;display:grid;grid-template-columns:1fr .9fr 1.35fr auto;align-items:stretch;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.contact-item{display:flex;flex-direction:column;justify-content:center;min-height:118px;padding:1.4rem 1.65rem;text-decoration:none;border-right:1px solid var(--line);transition:background .2s ease}
.contact-item:hover{background:var(--ivory)}
.contact-item span{color:var(--gold);font-size:1.35rem;line-height:1;margin-bottom:.45rem}
.contact-item strong{font-size:.9rem}
.contact-item small{color:var(--muted);font-size:.78rem}
.contact-whatsapp{align-self:center;margin:1rem 0 1rem 1.5rem;min-width:145px}

footer{display:grid;grid-template-columns:1.1fr .65fr 1fr;gap:3rem;align-items:start;padding:3.4rem clamp(1rem,6vw,7rem) 1.4rem;background:linear-gradient(125deg,var(--charcoal),#0b1317);color:#e7e8e7}
.footer-brand img{width:210px;filter:drop-shadow(0 3px 10px rgba(0,0,0,.25))}
footer nav{display:flex;flex-direction:column;gap:.45rem}
footer nav a{color:#e5e0d7;text-decoration:none;font-size:.9rem}
footer nav a:hover{color:#e4bd75}
.footer-contact{padding-left:2.2rem;border-left:1px solid rgba(255,255,255,.25)}
.footer-contact p{font-size:.83rem;color:#d0d4d4;margin-bottom:.65rem}
.copyright{grid-column:1/-1;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.14);font-size:.72rem;color:#aeb5b8}
.floating-whatsapp{display:none;position:fixed;right:1rem;bottom:1rem;z-index:90;width:54px;height:54px;border-radius:50%;align-items:center;justify-content:center;background:#25d366;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 10px 25px rgba(0,0,0,.2)}

@media (max-width:1080px){
  .site-header{gap:1rem}.brand img{width:165px;height:82px}.main-nav{gap:1.1rem}.main-nav a{font-size:1.05rem}.header-cta{padding:.7rem 1rem}
  .hero{grid-template-columns:1fr 42%}.hero-copy{padding-left:clamp(1.4rem,4vw,4rem);padding-right:clamp(1.4rem,4vw,4rem)}
  .contact-grid{grid-template-columns:1fr 1fr}.contact-item:nth-child(2){border-right:0}.contact-whatsapp{margin:1rem;justify-self:start}
}

@media (max-width:820px){
  html{scroll-padding-top:88px}
  .site-header{min-height:88px;padding:.4rem 1rem;flex-wrap:wrap}.brand img{width:145px;height:75px}
  .menu-toggle{display:block;margin-left:auto}.header-cta{display:none}
  .main-nav{display:none;order:5;width:100%;margin:0;padding:.65rem 0 1rem;flex-direction:column;align-items:flex-start;gap:.1rem;border-top:1px solid var(--line)}
  .main-nav.open{display:flex}.main-nav a{width:100%;padding:.65rem 0}
  .hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:4.8rem 1.3rem 3.7rem}.hero-image{min-height:430px;order:2;background-position:center}
  .principle-grid,.area-grid,.team-grid,.about{grid-template-columns:1fr}
  .principle-grid article{border-right:0;border-bottom:1px solid var(--line);padding:2rem 1.2rem}.principle-grid article:last-child{border-bottom:0}
  .about-copy{padding:4.5rem 1.3rem}.about-image{min-height:360px}
  .area-grid,.team-grid{gap:1rem}
  .contact-grid{grid-template-columns:1fr}.contact-item{border-right:0;border-bottom:1px solid var(--line)}.contact-whatsapp{margin:1.2rem 0;justify-self:stretch}
  footer{grid-template-columns:1fr;gap:2rem}.footer-contact{padding-left:0;border-left:0}.copyright{grid-column:auto}
  .floating-whatsapp{display:flex}
}

@media (max-width:520px){
  h1{font-size:clamp(3rem,14vw,4.3rem)}
  .hero-image{min-height:330px}.actions{flex-direction:column;width:100%}.actions .button{width:100%}
  .areas,.team,.contact{padding-left:1rem;padding-right:1rem}.area-grid article,.team-grid article{padding:1.65rem 1.3rem}
}
