/* =====================================================
   Diego Arista Fotografía — Hoja de estilos
   ===================================================== */

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: #0a1622;
  color: #e3edf4;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #2f9fce; color: #0a1622; }

/* ===== Animaciones ===== */
@keyframes kenburns { 0% { transform: scale(1.04); } 100% { transform: scale(1.14); } }
@keyframes revUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

[data-reveal] { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }
[data-reveal].is-visible { animation: revUp .95s cubic-bezier(.2,.7,.2,1) both; }
[data-cue] { animation: floatY 2.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-visible { opacity: 1; transform: none; animation: none; }
  [data-cue] { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  z-index: 60; width: min(1180px, calc(100% - 36px));
}
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 13px 30px; border-radius: 999px;
  background: rgba(15,33,48,0.42);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(70,182,227,0.18);
  box-shadow: 0 18px 50px -22px rgba(0,0,0,0.7);
}
.nav-links {
  display: flex; gap: 30px; align-items: center;
  font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #b4c7d4;
}
.nav-links.right { justify-content: flex-end; }
.nav-links a { text-decoration: none; transition: color .3s; }
.nav-links a:hover { color: #46b6e3; }
.brand { display: flex; align-items: center; justify-content: center; gap: 11px; text-decoration: none; color: #eaf2f8; }
.brand img { height: 32px; width: auto; }
.brand .name { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 500; letter-spacing: 0.04em; line-height: 1; white-space: nowrap; display: block; text-align: left; }
.brand .tag { display: block; font-size: 8.5px; letter-spacing: 0.46em; text-transform: uppercase; color: #46b6e3; margin-top: 3px; }

/* ===== Botones ===== */
.btn {
  display: inline-block; padding: 16px 34px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  transition: transform .35s, background .35s;
}
.btn-primary { background: #46b6e3; color: #0a1622; font-weight: 500; }
.btn-primary:hover { background: #66c8ed; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(15,33,48,0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(70,182,227,0.4); color: #eaf2f8; font-weight: 400;
}
.btn-ghost:hover { background: rgba(70,182,227,0.16); }

/* ===== Hero ===== */
.hero { position: relative; height: 100vh; min-height: 680px; width: 100%; overflow: hidden; }
.hero-img { position: absolute; inset: 0; animation: kenburns 22s ease-out infinite alternate; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
/* Filtro oscuro: capa radial + capa vertical, ambas con transparencia */
.hero-veil-radial { position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, rgba(6,14,24,0.28) 0%, rgba(6,14,24,0.55) 55%, rgba(6,14,24,0.78) 100%); }
.hero-veil-linear { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,14,24,0.80) 0%, rgba(6,14,24,0.42) 34%, rgba(6,14,24,0.55) 64%, rgba(6,14,24,0.95) 100%); }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: 0.5em; text-transform: uppercase; color: #46b6e3; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(36px,5.6vw,80px); line-height: 1.06; max-width: 15ch; color: #f2f8fb; text-wrap: balance; margin-top: 30px; }
.hero p { margin-top: 26px; max-width: 50ch; font-size: clamp(15px,1.4vw,18px); font-weight: 300; line-height: 1.7; color: #c8dae7; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.scroll-cue { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: #89a1b0; }
em { font-style: italic; color: #46b6e3; }

/* ===== Frase ===== */
.quote-band { background: #0a1622; padding: clamp(90px,13vw,160px) 24px; text-align: center; }
.quote-band p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(26px,3.6vw,48px); line-height: 1.3; max-width: 20ch; margin: 0 auto; color: #d7e6f0; text-wrap: balance; }

/* ===== Portafolio ===== */
.section { padding: clamp(60px,8vw,100px) clamp(24px,5vw,80px) clamp(90px,12vw,140px); }
.wrap { max-width: 1180px; margin: 0 auto; }
.port-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 56px; }
.kicker { font-size: 12px; letter-spacing: 0.5em; text-transform: uppercase; color: #2f9fce; margin-bottom: 20px; }
.port-head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(32px,4.4vw,58px); line-height: 1.05; color: #eaf2f8; max-width: 16ch; }
.port-head .lead { max-width: 34ch; font-size: 15px; font-weight: 300; line-height: 1.7; color: #89a1b0; }
.port-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: 4px; background: #0f2330; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,30,0) 45%, rgba(8,18,30,0.78) 100%); pointer-events: none; }
.tile-cap { position: absolute; left: 26px; bottom: 24px; pointer-events: none; }
.tile-cap .num { font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: #46b6e3; }
.tile-cap .ttl { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: #f2f8fb; line-height: 1.1; }
.col-7 { grid-column: span 7; aspect-ratio: 4/3; }
.col-5 { grid-column: span 5; aspect-ratio: 3/4; }

/* ===== Diferenciadores ===== */
.why { background: #eef4f8; color: #10283b; padding: clamp(90px,12vw,150px) clamp(24px,5vw,80px); }
.why .kicker { text-align: center; color: #1d7aa6; margin-bottom: 18px; }
.why h2 { text-align: center; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(30px,4vw,52px); line-height: 1.08; color: #10283b; margin: 0 auto 64px; max-width: 20ch; }
.why h2 em { color: #1d7aa6; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.why-card { padding: 38px 30px; border-left: 1px solid rgba(19,40,58,0.13); }
.why-card .num { font-family: 'Cormorant Garamond', serif; font-size: 38px; color: #2f9fce; line-height: 1; }
.why-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 24px; margin-top: 18px; color: #10283b; }
.why-card p { margin-top: 12px; font-size: 14.5px; font-weight: 300; line-height: 1.7; color: #56717f; }

/* ===== Sobre mí ===== */
.about { background: #0a1622; padding: clamp(90px,12vw,150px) clamp(24px,5vw,80px); }
.about .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px,7vw,96px); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: #0f2330; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(30px,4vw,54px); line-height: 1.08; color: #eaf2f8; max-width: 16ch; }
.about .body { margin-top: 28px; max-width: 50ch; font-size: clamp(15px,1.3vw,17.5px); font-weight: 300; line-height: 1.8; color: #9cb3c2; }
.about .pull { margin-top: 22px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; line-height: 1.5; color: #46b6e3; max-width: 30ch; }
.about .sig { margin-top: 34px; font-family: 'Cormorant Garamond', serif; font-size: 26px; color: #eaf2f8; }
.about .role { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #7b93a3; margin-top: 4px; }

/* ===== Exclusividad ===== */
.triggers { background: #0a1622; padding: 0 clamp(24px,5vw,80px) clamp(80px,11vw,130px); }
.triggers .wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.trigger-card { padding: 40px 34px; border: 1px solid rgba(70,182,227,0.16); border-radius: 6px; background: rgba(70,182,227,0.03); }
.trigger-card .lbl { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #2f9fce; }
.trigger-card p { margin-top: 18px; font-family: 'Cormorant Garamond', serif; font-size: 23px; line-height: 1.4; color: #d7e6f0; }

/* ===== Testimonios ===== */
.testi { position: relative; padding: clamp(90px,13vw,160px) clamp(24px,5vw,80px); overflow: hidden; }
.testi-bg { position: absolute; inset: 0; }
.testi-bg img { width: 100%; height: 100%; object-fit: cover; }
.testi-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,30,0.86), rgba(8,18,30,0.9)); }
.testi .wrap { position: relative; }
.testi .kicker { text-align: center; color: #46b6e3; margin-bottom: 18px; }
.testi h2 { text-align: center; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(28px,3.8vw,50px); line-height: 1.1; color: #f2f8fb; max-width: 22ch; margin: 0 auto 16px; }
.testi .lead { text-align: center; font-size: 15px; font-weight: 300; color: #9cb3c2; max-width: 46ch; margin: 0 auto 60px; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card { padding: 36px 32px; border-radius: 14px; background: rgba(225,240,250,0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(70,182,227,0.2); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7); }
.testi-card .mark { font-family: 'Cormorant Garamond', serif; font-size: 44px; color: #46b6e3; line-height: 0.4; }
.testi-card p { margin-top: 18px; font-size: 15.5px; font-weight: 300; line-height: 1.75; color: #d1e1ec; }
.testi-card .who { margin-top: 24px; font-size: 13px; letter-spacing: 0.1em; color: #46b6e3; }
.testi-card .kind { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7b93a3; margin-top: 3px; }

/* ===== CTA ===== */
.cta { position: relative; padding: clamp(110px,16vw,200px) 24px; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: -12% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,30,0.7), rgba(8,18,30,0.84)); }
.cta .wrap { position: relative; max-width: 760px; }
.cta h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(34px,5vw,68px); line-height: 1.08; color: #f2f8fb; text-wrap: balance; }
.cta p.body { margin-top: 26px; font-size: clamp(15px,1.4vw,18px); font-weight: 300; line-height: 1.7; color: #c8dae7; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta .note { margin-top: 24px; font-size: 12.5px; letter-spacing: 0.06em; color: #2f9fce; }
.cta .btn { margin-top: 40px; padding: 18px 44px; font-size: 13px; letter-spacing: 0.18em; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: #06101a; padding: clamp(70px,9vw,110px) clamp(24px,5vw,80px) 44px; }
.site-footer .lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(22px,3vw,38px); line-height: 1.35; color: #d7e6f0; max-width: 24ch; text-wrap: balance; }
.footer-row { margin-top: 54px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; border-top: 1px solid rgba(70,182,227,0.14); padding-top: 36px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand .name { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: #eaf2f8; white-space: nowrap; line-height: 1; }
.footer-brand .tag { font-size: 9px; letter-spacing: 0.46em; text-transform: uppercase; color: #46b6e3; margin-top: 3px; }
.footer-links { display: flex; gap: 14px; align-items: center; }
.footer-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px;
  font-size: 18px; color: #b4c7d4; text-decoration: none;
  border: 1px solid rgba(70,182,227,0.22);
  background: rgba(70,182,227,0.05);
  transition: color .3s, background .3s, border-color .3s, transform .3s;
}
.footer-links a:hover { color: #0a1622; background: #46b6e3; border-color: #46b6e3; transform: translateY(-3px); }
.copyright { margin-top: 30px; font-size: 11px; letter-spacing: 0.08em; color: #56717f; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr; justify-items: center; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .about .wrap { grid-template-columns: 1fr; }
  .triggers .wrap, .testi-grid { grid-template-columns: 1fr; }
  .col-7, .col-5 { grid-column: span 12; }
}
