:root {
  --bg-main: #f7f3ee;
  --bg-soft: #efe9e2;
  --bg-cream: #e6ded5;
  --bg-dark: #0c0c0c;
  --text: #222;
  --muted: #555;
  --gold: #c6a46c;
  --green: #5f6f52;
  --fluor: #c6fa3d;
  --white: #fdfbf8
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.5
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit
}

.container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px
}

.section {
  padding: 120px 0;
  scroll-margin-top: 80px
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500
}

h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 22px
}

em {
  font-weight: 500
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.8px;
  font-weight: 500;
  margin-bottom: 24px
}

.gold {
  color: var(--gold)
}

.green {
  color: var(--green)
}

.header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  background: rgba(239, 233, 226, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34, 34, 34, .12);
  transition: background-color .25s ease, border-color .25s ease
}

.header.scrolled {
  background: rgba(247, 243, 238, .98);
  border-bottom-color: rgba(34, 34, 34, .22)
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo{
  display:flex;
  flex-direction:column;
  line-height:1;
  text-decoration:none;
  color: var(--text);
}

.logo-line1{
  font-family:'DM Sans', sans-serif;
  font-size:1.2rem;
  font-weight:600;
  text-transform:uppercase;
}

.logo-line2{
  font-family:'DM Sans', sans-serif;
  font-size:0.75rem;
  letter-spacing:0.15em;
  text-transform:uppercase;
}

.desktop-nav {
  display: flex;
  gap: 34px
}

.desktop-nav a {
  text-decoration: none;
  font-size: 16px
}

.desktop-nav a:hover {
  opacity: .55
}

.btn-primary {
  display: inline-block;
  background: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  padding: 13px 23px;
  font-size: 14px;
  border: 0
}

.menu-toggle,
.mobile-nav,
.menu-overlay {
  display: none
}

.hero {
  padding-top: 80px;
  min-height: 760px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: 680px
}

.hero-copy h1 {
  font-size: 58px;
  line-height: 1.04;
  max-width: 610px;
  margin-bottom: 28px
}

.hero-copy h1 em {
  color: var(--gold)
}

.hero-copy>p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 580px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 52px;
  margin-top: 40px
}

.btn-outline {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 12px 20px;
  font-size: 14px;
  transition: .25s
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(34, 34, 34, .35);
  padding-bottom: 5px
}

.text-link span {
  transition: transform .2s
}

.text-link:hover span {
  transform: translateX(4px)
}

.hero-visual {
  position: relative;
  height: 575px;
  overflow: hidden;
  background: #d2d2d2
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease
}

.hero-slide.active {
  opacity: 1
}

.areas {
  border-top: 1px solid rgba(0, 0, 0, .12)
}

.areas>div>h2 {
  margin-bottom: 58px
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px
}

.area-image {
  display: block;
  aspect-ratio: 1.18/1;
  overflow: hidden;
  margin-bottom: 28px
}

.area-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease
}

.area-image:hover img {
  transform: scale(1.025)
}

.area-card h3 {
  font-size: 28px;
  margin-bottom: 11px
}

.area-card p {
  color: var(--muted);
  max-width: 560px;
  min-height: 52px;
  margin-bottom: 24px
}

.gold-line {
  border-color: var(--gold)
}

.green-line {
  border-color: var(--green)
}

.approach {
  background: var(--bg-dark);
  color: var(--white)
}

.approach-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.approach h2 {
  font-size: 48px;
  line-height: 1.05
}

.approach h2 em {
  color: var(--gold)
}

.approach-copy {
  max-width: 560px
}

.approach-copy p+p {
  margin-top: 22px
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 85px;
  border-top: 1px solid rgba(198, 164, 108, .55);
  padding-top: 24px;
  gap: 25px
}

.principles span {
  color: var(--gold);
  font-size: 13px
}

.principles p {
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 25px
}

.clients-section {
  background: var(--bg-main)
}

.section-intro {
  max-width: 700px;
  color: var(--muted)
}

.clients-logos {
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 200px));
  gap: 46px 54px;
  align-items: center;
  justify-content: center
}

.client-logo {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: .48;
  transition: .25s
}

.client-logo:hover {
  opacity: 1;
  transform: translateY(-2px)
}

.client-logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain
}

.studio {
  background: var(--bg-soft)
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 100px;
  align-items: start
}

.studio-copy {
  max-width: 650px
}

.studio-copy h2 {
  font-size: 42px;
  margin-bottom: 30px
}

.studio-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  margin-bottom: 28px
}

.studio-copy>p:not(.eyebrow):not(.studio-quote) {
  margin-bottom: 18px
}

.linkedin {
  font-weight: 600;
  text-decoration: none
}

.portrait {
  width: 80%;
  max-width: 520px;
  justify-self:center;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px
}

.contact-copy h2 {
  font-size: 44px
}

.contact-copy h2 em {
  color: var(--green)
}

.contact-copy>p:not(.eyebrow) {
  max-width: 530px;
  margin: 28px 0 45px
}

.contact-form {
  padding-top: 38px
}

.contact-form label {
  display: block;
  margin-bottom: 20px
}

.contact-form label span {
  display: block;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .6px;
  margin-bottom: 8px
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(34, 34, 34, .35);
  background: transparent;
  padding: 8px 0;
  font: inherit;
  border-radius: 0;
  outline: none
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green)
}

.contact-form textarea {
  resize: vertical
}

.contact-form button {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(95, 111, 82, .55);
  background: transparent;
  font-family: inherit;
  cursor: pointer
}

.contact-form button:hover {
  background: var(--green);
  color: #fff
}

.form-feedback {
  font-size: 14px;
  margin-top: 14px;
  min-height: 21px
}

/* WhatsApp flotante igual a las landings */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 55px;
  height: 55px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-icon {
  display: block;
  width: 55px;
  height: 55px;
}

footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 36px 0
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 11px
}

.footer-logo {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.5px;
  line-height: 1.1
}

.footer-logo span {
  font-size: 7px
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media(max-width:980px) {
  .desktop-nav {
    gap: 18px
  }

  .hero-grid {
    gap: 42px
  }

  .hero-copy h1 {
    font-size: 47px
  }

  .area-grid,
  .studio-grid,
  .contact-grid {
    gap: 55px
  }

  .clients-logos {
    grid-template-columns: repeat(3, minmax(120px, 180px))
  }
}

@media(max-width:760px) {
  .container {
    padding: 0 24px
  }

  .section {
    padding: 80px 0
  }

  .desktop-nav,
  .desktop-btn {
    display: none
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 7px
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #222
  }

  .mobile-nav {
    position: fixed;
    display: flex;
    z-index: 101;
    top: 80px;
    right: 0;
    width: min(85vw, 360px);
    height: calc(100vh - 80px);
    background: var(--bg-main);
    padding: 30px 24px;
    flex-direction: column;
    gap: 5px;
    transform: translateX(100%);
    transition: .3s
  }

  .mobile-nav.active {
    transform: none
  }

  .mobile-nav a {
    text-decoration: none;
    padding: 13px 0
  }

  .mobile-nav .btn-primary {
    margin-top: 14px;
    text-align: center
  }

  .menu-overlay {
    position: fixed;
    z-index: 99;
    inset: 80px 0 0;
    background: rgba(0, 0, 0, .35)
  }

  .menu-overlay.active {
    display: block
  }

  .hero {
    min-height: 0
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding-top: 70px;
    padding-bottom: 75px;
    min-height: 0;
    align-items: stretch
  }

  .hero-copy h1 {
    font-size: 43px;
    letter-spacing: -.5px
  }

  .hero-copy>p {
    font-size: 16px
  }

  .hero-actions {
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 32px
  }

  .hero-visual {
    height: 460px
  }

  .area-grid,
  .approach-intro,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .area-grid {
    gap: 70px
  }

  .areas>div>h2 {
    margin-bottom: 42px
  }

  .area-card p {
    min-height: 0
  }

  .approach-intro {
    gap: 30px
  }

  .approach h2 {
    font-size: 39px
  }

  .principles {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    margin-top: 60px
  }

  .principles p {
    margin-top: 14px
  }

  .clients-logos {
    grid-template-columns: repeat(2, minmax(105px, 1fr));
    gap: 38px 34px;
    margin-top: 55px
  }

  .studio-grid {
    gap: 45px
  }

  .studio-copy h2,
  .contact-copy h2 {
    font-size: 36px
  }

  .portrait {
    justify-self: start;
    max-width: 100%
  }

  .contact-form {
    padding-top: 0
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px
  }

  .footer-inner {
    align-items: flex-start;
    gap: 25px;
    flex-direction: column
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .hero-slide,
  .reveal,
  .area-image img,
  .floating-whatsapp {
    transition: none
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* ===== AJUSTES DE INTERACCIÓN Y FOOTER ===== */

.btn-primary {
  border: 1px solid var(--bg-dark);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px)
}

.hero-actions .btn-outline {
  padding: 13px 23px;
  font-size: 15px;
  transition: background-color .25s, color .25s, transform .25s
}

.hero-actions .btn-outline:hover {
  transform: translateY(-2px)
}

.text-link {
  --link-accent: var(--gold);
  position: relative;
  border-bottom: 0;
  padding-bottom: 6px
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--link-accent);
  transform: scaleX(.32);
  transform-origin: left;
  transition: transform .3s ease
}

.text-link span {
  transition: transform .25s
}

.text-link:hover::after {
  transform: scaleX(1)
}

.text-link:hover span {
  transform: translateX(6px)
}

.hero-actions .text-link {
  font-size: 15px
}

.gold-line {
  --link-accent: var(--gold);
  border-bottom: 0
}

.green-line,
.contact-copy .text-link {
  --link-accent: var(--green);
  border-bottom: 0
}

.client-logo {
  filter: grayscale(1);
  transition: filter .3s, opacity .3s, transform .3s
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px)
}

.client-logo img {
  filter: grayscale(1) brightness(0.55);
  opacity: 1;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.linkedin {
  display: inline-block;
  font-size: 23px;
  line-height: 1;
  transition: color .2s, transform .2s
}

.linkedin:hover {
  color: var(--gold);
  transform: translateY(-2px)
}

.contact-form button {
  transition: background-color .25s, color .25s, transform .25s
}

.contact-form button:hover {
  transform: translateY(-2px)
}

.floating-whatsapp {
  width: 82px;
  height: 82px;
  transition: transform .25s, box-shadow .25s
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24)
}

.floating-whatsapp svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--bg-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer {
  background: var(--bg-dark);
  color: var(--white);
  border-top: 0;
  padding: 40px 0
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  font-size: 14px
}

.footer-inner p:first-child {
  max-width: 850px
}

/* Logo igual al de las landings */

.header .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0;
}

.header .logo .logo-line1,
.header .logo .logo-line2 {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header .logo .logo-line1 {
  font-weight: 600;
}

.header .logo .logo-line2 {
  font-weight: 400;
  margin-top: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


@media(max-width:760px) {
  .floating-whatsapp {
    width: 68px;
    height: 68px
  }

  .footer-inner {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column
  }

  .footer-divider {
    display: none
  }
}