/* ============================================================
   ETOLOGÍA CLÍNICA DE ANIMALES — Stylesheet
   Mobile-first · Tablet 640px · Desktop 1024px
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --bg:          #F8F5EF;
  --bg-alt:      #EDEAE2;
  --bg-card:     #FFFFFF;
  --dark:        #1C2B1A;
  --green:       #3A6333;
  --green-mid:   #527D4A;
  --green-pale:  #EBF0E7;
  --terra:       #BF6535;
  --terra-pale:  #F5ECE5;
  --gold:        #A8895A;
  --text:        #2A2A24;
  --muted:       #6B6858;
  --border:      #DDD9CF;
  --border-dark: #C8C4B8;

  --ff-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);

  --max: 1200px;
  --gutter: 1.25rem;
  --nav-h: 64px;
  --transition: 0.22s ease;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

/* --- Layout Utilities ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 4rem;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--dark);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section__header {
  margin-bottom: 2.5rem;
}
.section__header--centered {
  text-align: center;
}
.section__label {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}
.section--dark .section__label { color: #a8c9a0; }

.section__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: .5rem;
  max-width: 56ch;
}
.section__header--centered .section__subtitle { margin-inline: auto; }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  border: 2px solid var(--green);
}
.btn--primary:hover { background: var(--dark); border-color: var(--dark); }
.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border-dark);
}
.btn--ghost:hover { border-color: var(--dark); }
.btn--terra {
  background: var(--terra);
  color: #fff;
  border: 2px solid var(--terra);
}
.btn--terra:hover { background: #a0532a; border-color: #a0532a; }
.btn--sm { padding: .45rem 1rem; font-size: .8rem; }
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }

/* --- Tags / Badges ---------------------------------------- */
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 2rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag--green { background: var(--green-pale); color: var(--green); }
.tag--terra { background: var(--terra-pale); color: var(--terra); }
.tag--muted { background: var(--bg-alt); color: var(--muted); }

.reading-time {
  font-size: .8rem;
  color: var(--muted);
}
.reading-time::before { content: '· '; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(248, 245, 239, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--ff-serif);
}
.nav__logo-main {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--dark);
  text-transform: uppercase;
}
.nav__logo-sub {
  font-size: .7rem;
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav__links a:hover { color: var(--dark); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--dark); }

.nav__cta { display: none; }

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}
.nav__burger span:nth-child(2) { width: 70%; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; width: 100%; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 2rem var(--gutter);
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-family: var(--ff-serif);
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--green); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile .btn { margin-top: 1.5rem; align-self: flex-start; }

/* --- Hero -------------------------------------------------- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
.hero__image {
  position: relative;
  height: 52vw;
  min-height: 240px;
  max-height: 460px;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem var(--gutter);
  background: var(--bg);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

/* --- Stats bar -------------------------------------------- */
.stats-bar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: .9rem 0;
}
.stats-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-size: .8rem;
  letter-spacing: .02em;
}
.stat strong {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

/* --- Cards ------------------------------------------------ */
.card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__img img { transform: scale(1.04); }

.card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.card__date {
  font-size: .78rem;
  color: var(--muted);
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.card h3 a { transition: color var(--transition); }
.card h3 a:hover { color: var(--green); }
.card__excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--transition);
}
.card__link:hover { gap: .6rem; }
.card__link::after { content: '→'; }

/* Featured card */
.card--featured {
  grid-column: 1 / -1;
  flex-direction: column;
}
.card--featured .card__img { aspect-ratio: 16/7; }
.card--featured h3 { font-family: var(--ff-serif); font-size: 1.4rem; line-height: 1.25; }

/* Horizontal card */
.card--h {
  flex-direction: row;
}
.card--h .card__img {
  width: 130px;
  flex-shrink: 0;
  aspect-ratio: auto;
  height: 130px;
}
.card--h .card__body { padding: 1rem 1.25rem; }

/* --- Page Header ------------------------------------------ */
.page-header {
  background: var(--dark);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.page-header p { color: rgba(255,255,255,.65); margin-top: .75rem; max-width: 52ch; font-size: 1.05rem; }

/* --- Blog listing ----------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .4rem 1rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid var(--border-dark);
  color: var(--muted);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.articles-grid { display: grid; gap: 1.5rem; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); border-color: var(--green); color: #fff; }

/* --- Directory -------------------------------------------- */
.search-form {
  display: flex;
  gap: .5rem;
  max-width: 560px;
  margin: 1.5rem 0 0;
}
.search-input {
  flex: 1;
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-dark);
  background: #fff;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--green); }

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.city-card:hover {
  border-color: var(--green);
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.city-card__name {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.city-card:hover .city-card__name { color: var(--green); }
.city-card__count {
  font-size: .8rem;
  color: var(--muted);
}
.city-card__arrow {
  margin-top: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  opacity: 0;
  transition: opacity var(--transition);
}
.city-card:hover .city-card__arrow { opacity: 1; }

/* Specialist listing */
.specialist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.specialist-card__name { font-weight: 600; font-size: 1rem; color: var(--dark); }
.specialist-card__type { font-size: .8rem; color: var(--green); font-weight: 600; }
.specialist-card__info { font-size: .85rem; color: var(--muted); }

/* --- Pricing table ---------------------------------------- */
.pricing-grid { display: grid; gap: 1.5rem; }
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card--featured { border-color: var(--green); }
.pricing-card__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.pricing-card__name { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.pricing-card__price { font-size: 2rem; font-weight: 700; font-family: var(--ff-serif); color: var(--dark); }
.pricing-card__price span { font-size: .9rem; font-weight: 400; color: var(--muted); }
.pricing-card__desc { font-size: .9rem; color: var(--muted); }
.pricing-card__features { display: flex; flex-direction: column; gap: .6rem; padding-top: .5rem; border-top: 1px solid var(--border); }
.pricing-card__feature { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; }
.pricing-card__feature::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* --- Contact / Forms -------------------------------------- */
.contact-grid { display: grid; gap: 3rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); }
.contact-detail {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  font-size: .9rem;
}
.contact-detail__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-detail a { color: var(--green); font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-row { display: grid; gap: 1.25rem; }
.form label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .02em;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: .7rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-dark);
  background: #fff;
  font-size: .95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(58, 99, 51, .12);
}
.form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .78rem; color: var(--muted); }

/* --- About team ------------------------------------------- */
.team-grid { display: grid; gap: 2rem; }
.team-card { display: flex; flex-direction: column; gap: .75rem; }
.team-card__img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--green-pale);
  border: 3px solid var(--border);
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-family: var(--ff-serif); font-weight: 600; font-size: 1.05rem; color: var(--dark); }
.team-card__role { font-size: .82rem; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.team-card__bio { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* --- CTA section ------------------------------------------ */
.cta-section {
  background: var(--green);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.75); max-width: 50ch; margin-inline: auto; margin-top: .75rem; }
.cta-section .btn--outline { border-color: rgba(255,255,255,.6); color: #fff; margin-top: 2rem; }
.cta-section .btn--outline:hover { background: rgba(255,255,255,.15); }

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 3rem 0 1.5rem;
  font-size: .85rem;
}
.footer__inner {
  display: grid;
  gap: 2.5rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer__logo span { font-style: italic; font-weight: 400; color: rgba(255,255,255,.4); font-size: .9rem; display: block; }
.footer__desc { line-height: 1.6; max-width: 30ch; }

.footer__col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: .9rem;
}
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__links a:hover { color: #fff; }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer__legal a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* --- Article page ----------------------------------------- */
.article-hero {
  background: var(--dark);
  padding: 3rem 0;
  color: #fff;
}
.article-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); margin-top: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .82rem; color: rgba(255,255,255,.5); }
.article-meta strong { color: rgba(255,255,255,.85); }

.article-body {
  max-width: 72ch;
  margin-inline: auto;
  padding: 3rem var(--gutter);
}
.article-body h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.article-body h3 { margin: 1.5rem 0 .5rem; }
.article-body p { margin-bottom: 1.25rem; color: var(--text); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .4rem; list-style-type: disc; }
.article-body blockquote {
  border-left: 3px solid var(--green);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
}
.article-cover {
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
  border-radius: var(--r-md);
  margin: 0 0 2rem;
}

/* --- Misc ------------------------------------------------- */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-terra { color: var(--terra); }
.visually-hidden { position: absolute; clip: rect(0,0,0,0); white-space: nowrap; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .78rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span::before { content: '/'; margin-right: .5rem; opacity: .5; }

/* Alert / notice */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border-left: 3px solid;
  font-size: .88rem;
}
.notice--green { background: var(--green-pale); border-color: var(--green); color: var(--green); }
.notice--terra { background: var(--terra-pale); border-color: var(--terra); color: var(--terra); }

/* ============================================================
   TABLET — min-width: 640px
   ============================================================ */
@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .cities-grid { grid-template-columns: repeat(3, 1fr); }

  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid .card--featured { grid-column: 1 / -1; flex-direction: row; }
  .articles-grid .card--featured .card__img { width: 48%; aspect-ratio: auto; height: auto; }

  .form-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   DESKTOP — min-width: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  :root { --gutter: 2rem; }

  /* Nav */
  .nav__burger { display: none; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }

  /* Hero — full-height split */
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    min-height: calc(100vh - var(--nav-h));
  }
  .hero__image {
    order: 2;
    height: 100%;
    max-height: none;
  }
  .hero__content {
    order: 1;
    padding: 5rem 4rem 5rem 2rem;
    max-width: 600px;
    justify-self: end;
    width: 100%;
  }

  /* Grids */
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  /* Articles grid */
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid .card--featured { flex-direction: row; }
  .articles-grid .card--featured .card__img { width: 50%; aspect-ratio: auto; height: auto; }

  /* Cities */
  .cities-grid { grid-template-columns: repeat(4, 1fr); }

  /* Team */
  .team-grid { grid-template-columns: repeat(3, 1fr); }

  /* Pricing */
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }

  /* Section padding */
  .section { padding-block: 5.5rem; }
  .page-header { padding: 5rem 0 4rem; }

  /* Footer */
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}
