@import url("https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,500;0,600;1,500&display=swap");

:root {
  --ink: #1f2a30;
  --muted: #5d6a72;
  --bg: #fff;
  --grey: #f0f0f0;
  --line: #d9dee1;
  --sky: #d6f1ff;
  --black: #111;
  --accent: #0a74da;
  --wrap: 1240px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.kicker { font-family: var(--serif); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; font-weight: 600; margin: 0 0 .6em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.8em; border-radius: 100px; border: 2px solid var(--black);
  background: var(--black); color: #fff; font-family: var(--serif); font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em; font-size: .85rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--black); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--sm { padding: .55em 1.3em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--grey); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 112px; gap: 24px; }
.logo { font-weight: 700; font-size: 1.15rem; white-space: nowrap; letter-spacing: -.03em; color: var(--ink);  display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: .95rem; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--black); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; background: #222 center / cover no-repeat; position: relative; padding: 56px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.1) 40%, rgba(0,0,0,.45)); }
.hero .wrap { position: relative; }
.hero h1 { max-width: 760px; }
.hero .kicker { font-size: 1.4rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.callout { background: var(--sky); color: var(--ink); max-width: 420px; padding: 26px 28px 30px; transform: rotate(-2deg); margin-top: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 500; font-size: 1.05rem; }
.callout p { margin-bottom: 1.2em; }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--grey); }
.section-head { margin-bottom: 36px; }
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Cards: foto arriba, texto editorial debajo */
.card { display: block; }
.card-img { aspect-ratio: 4 / 5; background: var(--grey) center / cover no-repeat; overflow: hidden; transition: filter .25s; }
.card:hover .card-img { filter: brightness(.88); }
.card-body { padding: 14px 0 0; }
.card-body .tag { font-family: var(--serif); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 600; color: var(--muted); }
.card-body h3 { margin: 4px 0 6px; font-size: 1.35rem; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.price { font-weight: 700; margin-top: 10px; }

.feature { border-top: 3px solid var(--black); padding-top: 16px; }
.feature .num { font-family: var(--display); font-size: 2.4rem; display: block; line-height: 1; margin-bottom: 10px; }
.feature p { color: var(--muted); }

.cta-band { background: var(--black); color: #fff; padding: 64px 32px; text-align: center; }
.cta-band p { max-width: 560px; margin-inline: auto; opacity: .85; }
.cta-band .btn { background: #fff; color: var(--black); border-color: #fff; }
.cta-band .btn:hover { background: transparent; color: #fff; }

.page-head { padding: 64px 0 48px; background: var(--grey); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.page-head p { margin: 0; }
.page-head--photo { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #222 center / cover no-repeat; position: relative; }
.page-head--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.65)); }
.page-head--photo .wrap { position: relative; }
.page-head--photo .lead, .page-head--photo .breadcrumb { color: rgba(255,255,255,.9); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { text-decoration: underline; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 2rem; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 600; cursor: pointer; font-size: 1.1rem; }
details p { margin: 12px 0 0; color: var(--muted); }

.form { display: grid; gap: 18px; max-width: 680px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: .8em 1em; border: 1px solid var(--ink); border-radius: 0; background: #fff; }
.form label { display: block; font-weight: 600; margin-bottom: 4px; font-size: .9rem; }

/* Footer */
.site-footer { background: var(--black); color: #c9d0d4; padding: 64px 0 24px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--serif); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; }
.copy { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: .85rem; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--grey); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .grid-4, .grid-3, .grid-2, .form .row { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 4 / 3; }
  .section { padding: 52px 0; }
  .callout { transform: rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 420px) { .logo { font-size: .95rem; } }

.logo img { height: 46px; width: auto; }
.site-footer .logo img { height: 52px; }
@media (max-width: 420px) { .logo img { height: 38px; } }
.logo img { height: 70px; }
.site-footer .logo img { height: 84px; }
@media (max-width: 720px) { .site-header .wrap { height: 76px; } .logo img { height: 58px; } }
@media (max-width: 420px) { .logo img { height: 52px; } }

.logo img { height: 92px; }
.site-footer .logo img { height: 110px; }
.site-footer .logo { margin-bottom: 8px; }
@media (max-width: 720px) { .site-header .wrap { height: 88px; } .nav { top: 88px; } .logo img { height: 68px; } .site-footer .logo img { height: 90px; } }
@media (max-width: 420px) { .logo img { height: 60px; } }
.site-header .wrap { height: 108px; }
.logo img { height: 82px; }
@media (max-width: 720px) { .site-header .wrap { height: 88px; } .logo img { height: 66px; } }
@media (max-width: 420px) { .logo img { height: 58px; } }
