/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Brand blues extracted from ISANTO logo */
  --accent:      #8A4D63;
  --accent-bright: #00A0C8;
  --accent-deep: #005080;
  --accent-soft: rgba(0, 120, 180, 0.08);
  --accent-mid:  rgba(0, 120, 180, 0.15);
  --accent-glow: rgba(0, 160, 200, 0.25);

  /* Surface */
  --bg:          #ffffff;
  --bg2:         #f8f9fb;
  --bg3:         #f1f4f8;
  --text:        #0d1117;
  --text-muted:  #6a737d;
  --text-soft:   #94a3b8;
  --border:      #e2e8f0;
  --border-soft: rgba(226, 232, 240, 0.6);

  /* Typography */
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Geometry */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.05);
  --shadow-accent: 0 8px 24px rgba(0, 120, 180, 0.22);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); min-height: 100vh; }
a { text-decoration: none; color: inherit; }

/* ── HEADER ────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6%;
  transition: background .3s var(--ease-out), padding .3s var(--ease-out),
              box-shadow .3s var(--ease-out), backdrop-filter .3s;
}

header.sticky {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 14px 6%;
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,.04);
}

.logo-header {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
  letter-spacing: -0.1px;
}

nav a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .25s var(--ease-out);
}

nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }

.nav-cta {
  font-size: 13px; font-weight: 700;
  padding: 9px 20px; border-radius: var(--radius-sm);
  background: var(--accent); color: #ffffff;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,120,180,.25);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: #b16c86;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
  color: #ffffff;
}

.menu-icon {
  display: none;
  font-size: 26px;
  color: var(--text);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}

.menu-icon:hover { background: var(--bg2); }

/* ── MOBILE NAV ────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}

.mobile-nav.open { display: flex; }

.mobile-nav nav {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  transition: color .2s;
}

.mobile-nav a:hover { color: var(--accent); }

.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 32px; color: var(--text-muted);
  padding: 6px; border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}

.mobile-close:hover { background: var(--bg2); color: var(--text); }

/* ── PÁGINA DE CONTACTO ────────────────────────────────── */
.contact-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 6% 80px;
  background: var(--bg2);
  position: relative; overflow: hidden;
}
.contact-page::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  border: 1.5px solid rgba(39,224,176,.12); border-radius: 50%; pointer-events: none;
}
.contact-page::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border: 1px solid rgba(39,224,176,.08); border-radius: 50%; pointer-events: none;
}
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; max-width: 960px; width: 100%;
  position: relative; z-index: 1;
}

/* ── INFO IZQUIERDA ────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.contact-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent2); }
.contact-info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.contact-info h1 span { color: var(--accent); }
.contact-info > p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 340px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.contact-item-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #D7D9DD; border: 1px solid rgba(39,224,176,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--accent2); flex-shrink: 0;
}
.contact-social { display: flex; gap: 10px; }
.contact-social a {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); font-size: 17px; color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
}
.contact-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(39,224,176,.06); }

/* ── FORMULARIO ────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
}
.form-title { font-size: 18px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 4px; }
.form-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 9px;
  font-family: var(--sans); font-size: 13px; color: var(--text);
  background: var(--bg2); outline: none;
  transition: border-color .2s, background .2s; resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); background: var(--bg); }
.form-group textarea { height: 110px; }
.btn-submit {
  width: 100%; padding: 13px; border-radius: 9px;
  background: var(--accent); color: #F8F8F8; border: none;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: opacity .2s, transform .15s;
  margin-top: 8px; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.btn-submit:hover { opacity: .88; transform: translateY(-1px); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { display: none; }
  .menu-icon { display: block; }
}
@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .contact-info > p { max-width: 100%; }
}
@media (max-width: 600px) {
  header { padding: 14px 4%; }
  .contact-page { padding: 100px 4% 60px; }
  .contact-form-wrap { padding: 28px 20px; }
}