:root {
  --green: #3c6e71;
  --green-dark: #284b63;
  --cream: #d9d9d9;
  --cream-soft: #ffffff;
  --blue: #284b63;
  --teal: #3c6e71;
  --ink: #353535;
  --muted: #353535;
  --white: #ffffff;
  --line: rgba(53, 53, 53, 0.16);
  --shadow: 0 20px 60px rgba(40, 75, 99, 0.14);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(76px, 10vw, 132px); }
.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;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-150%);
  background: var(--blue); color: white; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(40,75,99,.1);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; width: 132px; }
.brand img { width: 100%; height: 55px; object-fit: contain; object-position: center; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 30px); }
.site-nav a { text-decoration: none; font-size: .91rem; font-weight: 700; color: var(--ink); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green-dark); }
.site-nav .nav-cta { padding: 10px 18px; color: white; background: var(--green); border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--blue); }

.hero {
  position: relative; overflow: hidden; min-height: calc(100vh - 82px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(110deg, rgba(217,217,217,.38) 0%, rgba(255,255,255,.96) 48%, rgba(255,255,255,.9) 100%);
}
.hero-architecture {
  position: absolute; inset: 0 0 auto; height: 54%; opacity: .7;
  background: url("assets/arquitectura-portada.png") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; right: -11vw; bottom: 12%; width: 38vw; aspect-ratio: 1;
  border: 1px solid rgba(60,110,113,.2); border-radius: 50%; box-shadow: inset 0 0 0 70px rgba(60,110,113,.05);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr); gap: 72px; align-items: end; padding-top: 150px; padding-bottom: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { max-width: 860px; margin: 0; color: var(--blue); font-size: clamp(2.9rem, 6.6vw, 6.15rem); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
.hero h1 span { display: block; margin-top: .08em; color: var(--green); font-size: .61em; font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: var(--ink); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .92rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--ink); }
.button-secondary { border: 1px solid var(--green); color: var(--green-dark); background: rgba(255,255,255,.58); }
.hero-card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.hero-card-kicker { margin: 0 0 10px; color: var(--green); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero-card strong { display: block; color: var(--blue); font-size: 1.24rem; line-height: 1.35; }
.hero-card p { margin: 14px 0; color: var(--muted); }
.hero-card a { color: var(--green-dark); font-weight: 800; text-underline-offset: 4px; }
.metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--green); color: white; border-radius: 22px 22px 0 0; overflow: hidden; }
.metrics div { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.18); }
.metrics div:last-child { border-right: 0; }
.metrics strong { display: block; font-size: 1.72rem; line-height: 1; }
.metrics span { display: block; margin-top: 8px; font-size: .8rem; opacity: .84; }

.section-heading { max-width: 760px; }
.section-heading h2 { margin: 0; color: var(--blue); font-size: clamp(2.25rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; }
.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 10vw; margin-top: 62px; }
.about-lead { margin: 0; color: var(--green-dark); font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.35; font-weight: 700; }
.about-copy { color: var(--muted); }
.about-copy p { margin: 0 0 20px; }
.values-band { background: var(--cream); padding-block: 28px; }
.values-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; }
.values-list span { padding: 8px 16px; color: var(--green-dark); background: rgba(255,255,255,.67); border: 1px solid var(--line); border-radius: 999px; font-size: .87rem; font-weight: 700; }

.section-intro { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }

.pillars { color: white; background: var(--green-dark); position: relative; overflow: hidden; }
.pillars::after {
  content: ""; position: absolute; width: 560px; aspect-ratio: 1; right: -220px; top: -260px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: inset 0 0 0 90px rgba(255,255,255,.025);
}
.section-heading-light { position: relative; z-index: 1; }
.section-heading-light .eyebrow { color: var(--cream); }
.section-heading-light h2 { color: white; max-width: 900px; }
.pillar-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); overflow: hidden; }
.pillar-card { min-height: 270px; padding: 28px; border-right: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.pillar-card:last-child { border-right: 0; }
.pillar-card > span { color: var(--cream); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.pillar-card h3 { margin: 54px 0 13px; font-size: 1.35rem; }
.pillar-card p { margin: 0; color: rgba(255,255,255,.74); font-size: .9rem; line-height: 1.58; }

.services { padding-bottom: clamp(90px, 12vw, 150px); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.service-card { min-height: 300px; padding: 28px; background: var(--cream-soft); border: 1px solid var(--cream); border-radius: 20px; }
.service-card-featured { grid-column: span 2; background: var(--cream); }
.service-number { color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 46px 0 14px; color: var(--blue); font-size: 1.45rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.service-card ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(53,53,53,.16); }
.service-card li { position: relative; padding-left: 18px; color: var(--green-dark); font-size: .82rem; font-weight: 700; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.property-types { color: white; background: var(--green-dark); position: relative; overflow: hidden; }
.property-types::before {
  content: ""; position: absolute; left: -220px; bottom: -320px; width: 620px; aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: inset 0 0 0 92px rgba(255,255,255,.025);
}
.property-types .shell { position: relative; z-index: 1; }
.property-types-head { display: grid; grid-template-columns: 1.1fr .7fr; gap: 9vw; align-items: end; }
.property-types .eyebrow { color: var(--cream); }
.property-types .section-heading h2 { color: white; }
.property-types-intro { margin: 0; color: rgba(255,255,255,.72); }
.property-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 58px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; }
.property-type-card { min-height: 290px; padding: 28px; background: var(--green-dark); }
.property-type-card > span { color: var(--cream); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.property-type-card h3 { margin: 64px 0 14px; font-size: 1.32rem; line-height: 1.2; }
.property-type-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.58; }

.management-process { border-bottom: 1px solid var(--cream); }
.management-process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.management-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.management-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.management-steps > li > span { padding-top: 3px; color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.management-steps h3 { margin: 0 0 7px; color: var(--blue); font-size: 1.12rem; }
.management-steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.communication { padding-block: clamp(64px, 8vw, 96px); background: var(--cream); }
.communication-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.communication h2 { margin: 0; max-width: 760px; color: var(--green-dark); font-size: clamp(2rem, 4vw, 4.1rem); line-height: 1.06; letter-spacing: -.04em; }
.communication-grid > p { margin: 0; color: var(--muted); }

.coexistence { border-bottom: 1px solid var(--cream); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 60px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-list li { min-height: 160px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-list span { color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.process-list p { margin: 44px 0 0; color: var(--blue); font-weight: 700; line-height: 1.45; }

.team { background: var(--cream-soft); }
.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.team-visual { position: relative; min-height: 490px; padding: 46px 40px 34px; color: white; background: var(--blue); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.team-visual::after { content: ""; position: absolute; right: -90px; top: -80px; width: 300px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: inset 0 0 0 54px rgba(255,255,255,.035); }
.team-mark { position: absolute; right: 26px; top: -55px; color: rgba(255,255,255,.08); font-size: 19rem; font-weight: 700; line-height: 1; }
.team-visual div { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.team-visual div:first-of-type { margin-top: 180px; }
.team-visual strong { font-size: 1.08rem; }
.team-visual div span { color: rgba(255,255,255,.68); font-size: .8rem; text-align: right; }
.team-copy h2 { margin: 0 0 30px; color: var(--blue); font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: 1.03; letter-spacing: -.045em; }
.team-copy > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); }

.experience-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.location-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.location-chips span { padding: 9px 14px; color: var(--green-dark); background: var(--cream); border-radius: 999px; font-size: .82rem; font-weight: 800; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 58px; }
.experience-card { min-height: 285px; padding: 32px; background: var(--cream); border-radius: var(--radius); }
.experience-card-dark { color: white; background: var(--green-dark); }
.card-label { margin: 0 0 56px; color: var(--green-dark); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.experience-card-dark .card-label { color: var(--cream); }
.experience-card strong { display: block; color: var(--blue); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; }
.experience-card-dark strong { color: white; }
.experience-card > p:last-child { margin: 20px 0 0; max-width: 520px; color: var(--muted); }
.experience-card-dark > p:last-child { color: rgba(255,255,255,.72); }
.properties { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.properties summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 26px; color: var(--blue); background: white; cursor: pointer; font-weight: 800; list-style: none; }
.properties summary::-webkit-details-marker { display: none; }
.properties summary span { color: var(--green); font-size: .8rem; }
.property-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 26px 24px; background: white; }
.property-list span { padding: 14px 16px 14px 0; color: var(--muted); border-top: 1px solid var(--cream); font-size: .84rem; }

.faq { background: var(--cream-soft); border-top: 1px solid var(--cream); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9vw; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 48px 23px 0; color: var(--blue); cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; color: var(--green); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -3px 52px 22px 0; color: var(--muted); }

.contact { color: white; background: var(--green); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; align-items: center; }
.contact .eyebrow { color: var(--cream); }
.contact h2 { margin: 0; color: white; font-size: clamp(2.35rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.05em; }
.contact-copy > p:last-child { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.76); }
.contact-card { padding: 30px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card > div { padding: 17px 0; border-bottom: 1px solid var(--cream); }
.contact-card > div:first-child { padding-top: 0; }
.contact-card span { display: block; margin-bottom: 5px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a:not(.button), .contact-card p { margin: 0; color: var(--blue); font-size: 1rem; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-button { width: 100%; margin-top: 24px; }

.site-footer { padding-block: 38px; background: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--green-dark); }
.footer-inner img { width: 120px; mix-blend-mode: multiply; }
.footer-inner p { margin: 0; font-weight: 700; }
.footer-copy { text-align: right; }
.footer-copy > span { color: var(--muted); font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 680px); }
  .header-inner { min-height: 72px; }
  .brand { width: 112px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 72px 14px auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: white; border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .site-nav .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-top: 120px; padding-bottom: 46px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5.6rem); }
  .hero-card { max-width: 480px; }
  .metrics { grid-template-columns: 1fr 1fr; border-radius: 18px 18px 0 0; }
  .metrics div { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 38px; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar-card:nth-child(2) { border-right: 0; }
  .pillar-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card-featured { grid-column: 1 / -1; }
  .communication-grid, .team-grid, .contact-grid, .property-types-head, .management-process-grid, .faq-grid { grid-template-columns: 1fr; }
  .communication-grid { align-items: start; }
  .property-types-intro { max-width: 640px; }
  .property-type-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .experience-head { align-items: flex-start; flex-direction: column; }
  .location-chips { justify-content: flex-start; }
  .property-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.35rem, 11.7vw, 3.15rem); letter-spacing: -.055em; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .metrics { grid-template-columns: 1fr; border-radius: 16px 16px 0 0; }
  .metrics div { border-right: 0; }
  .pillar-grid, .service-grid, .property-type-grid, .process-list, .experience-grid, .property-list { grid-template-columns: 1fr; }
  .pillar-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .pillar-card:last-child { border-bottom: 0; }
  .service-card-featured { grid-column: auto; }
  .service-card ul { grid-template-columns: 1fr; }
  .team-visual { min-height: 430px; padding-inline: 24px; }
  .team-visual div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .team-visual div span { text-align: left; }
  .properties summary { align-items: flex-start; flex-direction: column; gap: 6px; }
}
