:root {
  --navy: #323F52;
  --navy-deep: #2E3B47;
  --slate: #5E7394;
  --sand: #D9D2C2;
  --cream: #EAE6DF;
  --white: #FFFFFF;
  --gold: #C29B6C;
  --brand-font: 'Italiana', var(--serif);
  --serif: Cambria, Georgia, "Times New Roman", serif;
  --sans: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); margin: 0; color: var(--navy); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--brand-font);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--gold);
}
.logo span { color: var(--gold); margin-left: 0.35em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.95rem;
  color: var(--navy-deep);
  position: relative;
  padding: 6px 0;
}
.nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--slate);
  transition: width 0.25s ease;
}
.nav a:not(.nav-cta):hover:after { width: 100%; }
.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 10px 20px !important;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--slate); }
.nav-cross { font-style: italic; color: var(--slate) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: var(--slate);
  color: var(--cream);
  text-align: center;
  padding: 110px 24px 90px;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.eyebrow {
  font-style: italic;
  color: var(--sand);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--brand-font);
  font-size: clamp(2.8rem, 7.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--cream);
  line-height: 1.1;
}
.hero h1 .brand-sub {
  display: block;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 4px;
  margin-top: 0.15em;
  color: var(--cream);
  opacity: 0.9;
}
.brand-divider {
  width: 64px;
  height: 1px;
  background: var(--sand);
  opacity: 0.6;
  margin: 22px auto 0;
}
.hero-service-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 18px;
  border: 1px solid var(--sand);
  border-radius: 20px;
  color: var(--sand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero-sub {
  margin-top: 28px;
  font-size: 1.2rem;
  color: var(--white);
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--cream);
  color: var(--navy);
}
.btn-primary:hover { background: var(--white); }
.btn-secondary {
  border: 1px solid var(--cream);
  color: var(--cream);
}
.btn-secondary:hover { background: rgba(234,230,223,0.12); }

/* About */
.about { padding: 90px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-text p { color: #4a5568; font-size: 1.05rem; max-width: 46ch; }
.about-text .service-areas { font-size: 0.9rem; font-style: italic; color: var(--slate); margin-top: 14px; }
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tag-list li { border-radius: 2px; overflow: hidden; }
.tag-list a {
  display: block;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--serif);
  text-align: center;
  padding: 22px 12px;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.tag-list a:hover {
  background: var(--navy);
  color: var(--cream);
}

/* Partner banner */
.partner-banner {
  background: var(--sand);
  padding: 80px 0;
}
.partner-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.partner-eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--navy-deep);
  opacity: 0.75;
  margin-bottom: 14px;
}
.partner-banner h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 18px;
}
.partner-sub {
  color: var(--navy-deep);
  font-size: 1.02rem;
  max-width: 52ch;
  margin: 0 auto 32px;
}
.partner-banner .btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.partner-banner .btn-primary:hover { background: var(--navy-deep); }

/* Project sections */
.project-section { padding: 90px 0; }
.project-section.alt { background: var(--cream); }
.section-head {
  display: flex;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 44px;
}
.section-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sand-dark, var(--slate));
  border: 1px solid var(--slate);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--slate);
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 8px; }
.section-head p { margin: 0; color: #5a6472; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-two { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  padding: 0;
  border: none;
  background: var(--navy);
  cursor: pointer;
  grid-row: var(--row, span 1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); opacity: 0.92; }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(50,63,82,0.85), transparent);
  color: var(--cream);
  font-size: 0.9rem;
  text-align: left;
  letter-spacing: 0.5px;
}

/* Contact */
.contact { padding: 100px 0; background: var(--navy); color: var(--cream); text-align: center; }
.contact h2 { color: var(--cream); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 50px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-grid-single { grid-template-columns: 1fr; max-width: 340px; }
.cross-link { margin-top: 36px; font-size: 0.95rem; color: var(--sand); }
.cross-link a { color: var(--cream); font-weight: 600; text-decoration: underline; }
.cross-link a:hover { color: var(--sand); }
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(234,230,223,0.25);
  border-radius: 3px;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card h3 { color: var(--sand); font-size: 1.3rem; margin-bottom: 2px; }
.contact-card .contact-role { color: var(--cream); opacity: 0.7; font-style: italic; font-size: 0.85rem; margin: 0 0 4px; }
.contact-card a { color: var(--cream); font-size: 0.95rem; }
.contact-card a:hover { color: var(--sand); }
.contact-card .whatsapp-link {
  margin-top: 8px;
  color: #6fcf97;
  font-weight: 600;
}
.contact-card .whatsapp-link:hover { color: #8fe0af; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--sand); padding: 28px 0; }
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}
.footer-year { opacity: 0.7; margin: 0; }
.site-footer p { margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(46,59,71,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(234,230,223,0.1);
  color: var(--cream);
  border: 1px solid rgba(234,230,223,0.3);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(234,230,223,0.25); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Diseño page — shared kicker */
.section-kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 14px;
}

/* Bio */
.bio { padding: 90px 0; background: var(--white); }
.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.bio-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}
.bio-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 1px solid var(--sand);
}
.bio-photo-placeholder span {
  font-family: var(--serif);
  font-weight: bold;
  font-size: 5rem;
  color: var(--cream);
}
.bio-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 20px; }
.bio-text p { color: #4a5568; font-size: 1rem; max-width: 62ch; margin: 0 0 16px; }

/* Philosophy */
.philosophy { background: var(--navy); padding: 90px 0; text-align: center; }
.philosophy-inner { max-width: 720px; margin: 0 auto; }
.philosophy-kicker { color: var(--sand); }
.philosophy blockquote {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--cream);
  line-height: 1.45;
}
.philosophy blockquote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sand);
}
.philosophy-body { color: var(--sand); font-size: 1.02rem; opacity: 0.95; max-width: 56ch; margin: 0 auto; }

/* Phases */
.phases { padding: 90px 0; background: var(--white); }
.phases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.phase-card { background: var(--cream); border-radius: 4px; padding: 36px 32px; }
.phase-num {
  display: block;
  font-family: var(--serif);
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--slate);
  margin-bottom: 6px;
}
.phase-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.phase-intro { color: #4a5568; font-size: 0.95rem; margin-bottom: 18px; }
.phase-list { margin: 0; }
.phase-list dt { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-top: 14px; }
.phase-list dt:first-child { margin-top: 0; }
.phase-list dd { margin: 4px 0 0; color: #4a5568; font-size: 0.92rem; line-height: 1.55; }

/* Execution */
.execution { padding: 90px 0; background: var(--cream); }
.execution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.execution-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.execution-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 10px; }
.execution-tag {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 18px;
}
.execution-text > p { color: #4a5568; font-size: 0.98rem; margin-bottom: 18px; max-width: 54ch; }

/* Before / after cases */
.cases { padding: 90px 0; }
.cases.alt { background: var(--cream); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.case-card { background: var(--white); border: 1px solid var(--cream); border-radius: 4px; overflow: hidden; }
.cases.alt .case-card { border-color: rgba(50,63,82,0.1); }
.case-media { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 2px; }
.case-media-3 { grid-template-columns: repeat(3, 1fr); }
.case-item { position: relative; padding: 0; border: none; cursor: pointer; overflow: hidden; background: var(--navy); }
.case-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-item:hover img { transform: scale(1.06); }
.case-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(50,63,82,0.85);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
}
.case-tag-after { background: var(--sand); color: var(--navy); }
.case-info { padding: 18px 20px; }
.case-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.case-info p { font-size: 0.85rem; color: #5a6472; margin: 0; }

/* Methodology */
.methodology { padding: 90px 0; background: var(--white); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.method-num {
  display: block;
  font-family: var(--serif);
  font-weight: bold;
  font-size: 2.2rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 12px;
}
.method-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.method-step p { color: #5a6472; font-size: 0.92rem; line-height: 1.55; }

.contact-intro { color: var(--sand); max-width: 58ch; margin: -30px auto 40px; font-size: 1rem; }

/* Hub landing page */
.hub-body { display: flex; flex-direction: column; min-height: 100vh; }
.hub-header {
  text-align: center;
  padding: 36px 24px 28px;
  background: var(--white);
}
.hub-lockup {
  display: inline-block;
  font-family: var(--brand-font);
  color: var(--gold);
}
.hub-lockup-top {
  display: block;
  font-size: clamp(1.6rem, 6vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 6px;
  line-height: 1;
}
.hub-lockup-main {
  display: block;
  font-size: clamp(4.6rem, 17.5vw, 11rem);
  font-weight: 400;
  letter-spacing: 6px;
  margin-top: 0.02em;
  line-height: 1;
}
.hub-lockup-divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 16px auto 0;
}
.hub-eyebrow {
  margin: 12px 0 0;
  font-style: italic;
  color: var(--slate);
  font-size: 0.75rem;
  letter-spacing: 2px;
}
.hub-intro { background: var(--white); padding: 56px 24px; text-align: center; }
.hub-intro-kicker { justify-content: center; display: flex; }
.hub-intro-text {
  max-width: 62ch;
  margin: 0 auto;
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.65;
}
.split-hero {
  flex: 1;
  display: flex;
  min-height: 70vh;
}
.split-panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.split-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.split-panel:hover .split-bg { transform: scale(1.06); filter: brightness(0.4); }
.split-overlay {
  position: relative;
  z-index: 2;
  max-width: 380px;
  padding: 32px;
}
.split-name {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 10px;
}
.split-overlay h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.split-overlay p {
  font-size: 1rem;
  margin-bottom: 22px;
  color: var(--cream);
}
.split-cta {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.split-panel:hover .split-cta { color: var(--sand); }
.hub-footer {
  text-align: center;
  padding: 20px;
  background: var(--navy-deep);
  color: var(--sand);
  font-size: 0.85rem;
}
.hub-footer p { margin: 4px 0; }
.hub-footer .footer-year { opacity: 0.7; }

/* Responsive */
@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 32px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--cream);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .tag-list { grid-template-columns: 1fr; }
  .gallery, .gallery-two { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item { grid-row: span 1 !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
  .split-hero { flex-direction: column; }
  .split-panel { min-height: 340px; }
  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { max-width: 220px; }
  .execution-grid { grid-template-columns: 1fr; gap: 28px; }
  .execution-grid img { order: -1; max-width: 280px; margin: 0 auto; }
  .phases-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .contact-intro { margin-top: 0; }
}
