/* =========================
   IBRIDE — Wedding Studio
   Light editorial theme
========================= */

:root{
  --bg: #fbf6f2;          /* fondo marfil */
  --paper: #ffffff;
  --text: #1a1a1a;
  --muted: #777573;       /* gris cálido */

  --accent: #9c2c2b;      /* vino del logo */
  --accentSoft: rgba(156,44,43,.10);
  --line: rgba(26,26,26,.12);

  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 20px 60px rgba(0,0,0,.08);
  --max: 1120px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(156,44,43,.05), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg));
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
  transition:.2s ease;
}

a:hover{
  opacity:.85;
}

/* =========================
   Layout
========================= */

.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

.section{
  padding:70px 0;
}

.section--alt{
  background: rgba(156,44,43,.03);
}

.section__head{
  margin-bottom:30px;
}

.section__head h2{
  margin:0 0 10px;
  font-size:28px;
  letter-spacing:-.02em;
}

.section__head p{
  margin:0;
  color:var(--muted);
}

/* =========================
   Header
========================= */

.header{
  position:sticky;
  top:0;
  background: rgba(251,246,242,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index:100;
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand__logo{
  height:42px;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:14px;
  color:var(--muted);
}

.nav a{
  padding:8px 10px;
  border-radius:12px;
}

.nav a:hover{
  background: rgba(26,26,26,.05);
  color:var(--text);
}

/* =========================
   Buttons
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-size:14px;
  font-weight:600;
  border:1px solid var(--line);
  transition:.2s ease;
}

.btn--primary{
  background:var(--accent);
  color:#fff;
  border:none;
  box-shadow:0 12px 30px rgba(156,44,43,.18);
}

.btn--primary:hover{
  transform:translateY(-2px);
}

.btn--soft{
  background:var(--accentSoft);
  color:var(--accent);
  border:1px solid rgba(156,44,43,.2);
}

/* =========================
   Hero
========================= */

.hero{
  padding:80px 0 50px;
}

.hero__inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}

.kicker{
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.2em;
  color:var(--muted);
  margin:0 0 14px;
}

.hero h1{
  font-size:clamp(36px,4vw,54px);
  margin:0 0 16px;
  letter-spacing:-.02em;
  line-height:1.1;
}

.sub{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:500px;
  margin-bottom:24px;
}

.hero__cta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:20px;
}

.hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pill{
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--paper);
  border:1px solid var(--line);
  color:var(--muted);
}

/* Hero visual */

.hero__visual{
  position:relative;
}

.frame{
  border-radius:var(--radius-lg);
  background:var(--paper);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:18px;
}

.placeholder{
  background:linear-gradient(135deg, rgba(156,44,43,.08), rgba(156,44,43,.02));
  border-radius:18px;
  height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.placeholder__box{
  width:70%;
  height:60%;
  background:rgba(156,44,43,.15);
  border-radius:14px;
}

/* =========================
   Grid / Cards
========================= */

.grid{
  display:grid;
  gap:18px;
}

.grid--3{
  grid-template-columns:repeat(3,1fr);
}

.card{
  background:var(--paper);
  padding:22px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  transition:.2s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.card h3{
  margin:0 0 10px;
  font-size:16px;
}

.card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* =========================
   Steps
========================= */

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.step{
  background:var(--paper);
  padding:22px;
  border-radius:var(--radius);
  border:1px solid var(--line);
}

.step__num{
  font-size:12px;
  letter-spacing:.2em;
  font-weight:700;
  color:var(--accent);
  margin-bottom:10px;
}

.step h3{
  margin:0 0 8px;
  font-size:16px;
}

.step p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* =========================
   CTA
========================= */

.cta{
  background:var(--paper);
  border-radius:var(--radius-lg);
  padding:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.cta__copy h2{
  margin:0 0 8px;
  font-size:24px;
}

.cta__copy p{
  margin:0;
  color:var(--muted);
}

.cta__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* =========================
   Footer
========================= */

.footer{
  margin-top:40px;
  text-align:center;
}

.muted{
  color:var(--muted);
  font-size:13px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px){

  .hero__inner{
    grid-template-columns:1fr;
  }

  .grid--3,
  .steps{
    grid-template-columns:1fr;
  }

  .nav{
    display:none;
  }
}

.hero__img{
  width:100%;
  height:460px;
  object-fit:cover;
  border-radius:26px;
  display:block;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}

@media (max-width:900px){
  .hero__img{
    height:340px;
  }
}