*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #111111; --mid: #555555; --soft: #999999;
  --light: #F7F5F2; --border: #E0DDD8; --white: #FFFFFF; --gold: #D4A853;
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'DM Sans', 'Helvetica Neue', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 5%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
  gap: 1rem;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.07); }

/* LOGO — más grande */
.nav-logo img { height: 72px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: .83rem; font-weight: 400; color: var(--mid); letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--dark); }
.nav-cta { background: var(--dark) !important; color: var(--white) !important; padding: .52rem 1.3rem !important; border-radius: 2px; font-weight: 500 !important; font-size: .78rem !important; letter-spacing: .08em !important; transition: opacity .2s !important; }
.nav-cta:hover { opacity: .72 !important; }

/* ── LANGUAGE SWITCHER ── */
.lang-switch { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 3px; padding: 4px 8px; cursor: pointer;
  font-family: var(--fb); font-size: .72rem; font-weight: 500;
  color: var(--soft); letter-spacing: .05em; text-transform: uppercase;
  transition: all .2s;
}
.lang-btn:hover { border-color: var(--dark); color: var(--dark); }
.lang-btn.active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.flag { font-size: 14px; line-height: 1; }

/* ── MOBILE TOGGLE ── */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--dark); transition: .3s; }

/* ── BUTTONS ── */
.btn-dark { display: inline-flex; align-items: center; gap: .4rem; background: var(--dark); color: var(--white); padding: .85rem 1.85rem; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; transition: opacity .2s, transform .15s; }
.btn-dark:hover { opacity: .75; transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: .4rem; color: var(--dark); font-size: .82rem; font-weight: 400; border-bottom: 1px solid var(--dark); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.btn-ghost:hover { color: var(--soft); border-color: var(--soft); }

/* ── EYEBROW ── */
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin-bottom: .9rem; }
.eyebrow::before { content:''; width: 1.75rem; height: 1px; background: var(--border); display: inline-block; }
.eyebrow-light { color: rgba(255,255,255,.4); }
.eyebrow-light::before { background: rgba(255,255,255,.2); }

/* ── SECTION TITLES ── */
.section-title { font-family: var(--fd); font-size: clamp(2rem,3.5vw,3.2rem); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
.section-title em { font-style: italic; }
.section-title-white { color: var(--white); }
.section-desc { font-size: 1rem; font-weight: 300; color: var(--mid); max-width: 520px; margin-top: .85rem; line-height: 1.85; }

/* ── HERO ── */
#hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 84px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 8% 6% 8% 8%; }
.hero-title { font-family: var(--fd); font-size: clamp(2.8rem,5vw,5.2rem); font-weight: 300; line-height: 1.07; letter-spacing: -.01em; margin-bottom: 1.75rem; }
.hero-title em { font-style: italic; }
.hero-sub { font-size: 1rem; font-weight: 300; color: var(--mid); max-width: 420px; margin-bottom: 2.75rem; line-height: 1.85; }
.hero-btns { display: flex; gap: 1rem; align-items: center; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.img-ph { width:100%; height:100%; min-height:500px; background:#EDEAE5; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.75rem; color:#BBBBBB; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; text-align:center; padding:2rem; }

/* ── STATS ── */
.stats { background: var(--dark); display: grid; grid-template-columns: repeat(3,1fr); }
.stat { padding: 2.5rem; border-right: 1px solid rgba(255,255,255,.08); text-align: center; }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--fd); font-size: 3rem; font-weight: 300; color: var(--white); display: block; line-height: 1; }
.stat-l { font-size: .75rem; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; display: block; }

/* ── SERVICIOS ── */
#servicios { padding: 7rem 8%; background: var(--white); }
.sh { margin-bottom: 3.5rem; }
.srv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.srv-card { position: relative; overflow: hidden; background: var(--light); cursor: pointer; }
.srv-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.srv-card:hover img { transform: scale(1.04); }
.srv-ph { width:100%; aspect-ratio:4/5; background:#E8E5E0; display:flex; align-items:center; justify-content:center; color:#BBBBBB; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; border:1px dashed #CCC; }
.srv-info { position: absolute; bottom:0; left:0; right:0; padding: 2rem 1.75rem 1.75rem; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%); }
.srv-tag { font-size: .72rem; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3rem; }
.srv-name { font-family: var(--fd); font-size: 1.6rem; font-weight: 400; color: var(--white); line-height: 1.2; }

/* ── NOSOTROS ── */
#nosotros { background: var(--light); display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; padding: 7rem 8%; }
.about-wrap { position: relative; }
.about-wrap > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; }
.about-accent { position: absolute; bottom: -1.25rem; right: -1.25rem; width: 38%; height: 55%; border: 2px solid var(--dark); z-index: 0; pointer-events: none; }
.about-badge { position: absolute; top: 2rem; left: -1.75rem; z-index: 2; background: var(--dark); color: var(--white); padding: 1.25rem 1rem; text-align: center; min-width: 80px; }
.badge-n { font-family: var(--fd); font-size: 2.2rem; font-weight: 600; display: block; line-height: 1; }
.badge-l { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; display: block; margin-top: .25rem; }
.about-list { list-style: none; margin-top: 1.75rem; display: flex; flex-direction: column; gap: .85rem; }
.about-list li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 300; color: var(--mid); }
.about-list li::before { content:''; width: 5px; height: 5px; border-radius: 50%; background: var(--dark); flex-shrink: 0; }

/* ── TESTIMONIOS ── */
#testimonios { background: var(--dark); padding: 7rem 8%; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; margin-top: 3.5rem; }
.test-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); padding: 2.25rem; }
.test-quote { font-family: var(--fd); font-size: 3.5rem; color: rgba(255,255,255,.2); line-height: 1; display: block; margin-bottom: .75rem; font-weight: 300; }
.test-stars { color: var(--gold); font-size: .85rem; letter-spacing: 2px; display: block; margin-bottom: .85rem; }
.test-text { font-size: .93rem; font-weight: 300; color: rgba(255,255,255,.7); line-height: 1.85; }
.test-author { display: flex; align-items: center; gap: .85rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.test-av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.7); flex-shrink: 0; }
.test-name { font-size: .88rem; font-weight: 500; color: var(--white); }
.test-loc { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: .1rem; }

/* ── CONTACTO ── */
#contacto { display: grid; grid-template-columns: 1fr 1fr; }
.cinfo { background: var(--light); padding: 7rem 6% 7rem 8%; display: flex; flex-direction: column; justify-content: center; }
.cinfo-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.75rem; }
.cinfo-item { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo-icon { width: 40px; height: 40px; min-width: 40px; background: var(--dark); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.cinfo-icon svg { fill: white; }
.cinfo-t { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: .2rem; }
.cinfo-v { font-size: .95rem; font-weight: 300; color: var(--mid); }
.cform-wrap { background: var(--white); padding: 7rem 8% 7rem 6%; display: flex; flex-direction: column; justify-content: center; }
.form-title { font-family: var(--fd); font-size: 1.9rem; font-weight: 300; margin-bottom: 1.85rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: .9rem; }
.fg { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.fg label { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.fg input, .fg select, .fg textarea { padding: .78rem .95rem; border: 1px solid var(--border); background: var(--white); font-family: var(--fb); font-size: .93rem; color: var(--dark); border-radius: 2px; outline: none; transition: border-color .2s; appearance: none; -webkit-appearance: none; width: 100%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--dark); }
.fg textarea { resize: vertical; min-height: 105px; }
.btn-submit { width: 100%; padding: .95rem; background: var(--dark); color: var(--white); border: none; font-family: var(--fb); font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .2s, transform .15s; margin-top: .35rem; }
.btn-submit:hover { opacity: .8; transform: translateY(-1px); }

/* ── FOOTER ── */
footer { background: #0A0A0A; padding: 2.5rem 8%; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.05); }
.footer-logo img { height: 50px; width: auto; filter: brightness(0) invert(1); opacity: .75; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── ANIMATIONS ── */
.anim { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: .1s; } .anim-d2 { transition-delay: .2s; } .anim-d3 { transition-delay: .3s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
.fu  { opacity:0; animation: fadeUp .7s ease forwards; }
.d1 { animation-delay:.1s; } .d2 { animation-delay:.25s; } .d3 { animation-delay:.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  #hero { grid-template-columns: 1fr; min-height: auto; padding-top: 88px; }
  .hero-img { height: 55vw; min-height: 300px; }
  .hero-content { padding: 4rem 6%; }
  .srv-grid { grid-template-columns: 1fr 1fr; }
  #nosotros { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 6%; }
  .test-grid { grid-template-columns: 1fr; }
  #contacto { grid-template-columns: 1fr; }
  .cinfo, .cform-wrap { padding: 4rem 6%; }
  .stats { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; position: fixed; top: 88px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 5%; z-index: 99; }
  .nav-links.open li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
  .nav-toggle { display: flex; }
  footer { flex-direction: column; gap: 1.25rem; text-align: center; }
  .about-badge { left: -.5rem; }
  .lang-switch { order: -1; }
}
@media (max-width: 600px) {
  #servicios, #testimonios { padding: 5rem 5%; }
  .srv-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .nav-logo img { height: 58px; }
}
