:root {
  --ink: #08295f;
  --text: #15233b;
  --blue: #2f80ed;
  --blue-deep: #1768d2;
  --sky: #7cb8f8;
  --sky-soft: #eaf5ff;
  --gold: #f5ab18;
  --white: #fff;
  --line: #d9e8f6;
  --shadow: 0 12px 36px rgb(20 67 119 / 12%);
  --container: 1190px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid #edf2f7;
  box-shadow: 0 3px 16px rgb(19 55 96 / 6%);
  backdrop-filter: blur(12px);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { flex: 0 0 210px; }
.brand img { width: 205px; max-height: 52px; object-fit: contain; object-position: left center; }
.brand img[src$="miargentina-logo.gif"] { content: url("assets/logo-approved.png"); }
.main-nav { margin-left: auto; display: flex; align-items: stretch; gap: 30px; align-self: stretch; }
.main-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #081a39;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--blue-deep); }
.nav-toggle { display: none; margin-left: auto; border: 0; background: transparent; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--ink); }

.hero { position: relative; overflow: hidden; min-height: 370px; background: #fff; }
.hero::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 25%;
  content: "";
  background: linear-gradient(90deg, #fff 12%, rgb(255 255 255 / 86%) 43%, transparent 100%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 60% 40%; min-height: 370px; }
.hero-copy { position: relative; z-index: 3; align-self: center; padding: 30px 18px 30px 220px; }
.sun-divider { display: flex; align-items: center; gap: 14px; width: 260px; margin: 0 0 6px 62px; color: var(--gold); }
.sun-divider::before, .sun-divider::after { flex: 1; height: 1px; content: ""; background: var(--blue); }
.sun-divider span { font-size: 46px; line-height: 1; }
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.02em;
}
.hero h1 em {
  position: relative;
  color: #72acf0;
  font-family: "Parisienne", cursive;
  font-size: 1.2em;
  font-weight: 400;
}
.hero h1 em::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; content: ""; background: #72acf0; }
.hero-copy > p { max-width: 600px; margin: 22px 0 16px; font-size: 16px; line-height: 1.3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(47 128 237 / 22%); }
.button--primary { color: white; background: linear-gradient(135deg, #368cf2, #2474db); }
.button--secondary { color: var(--blue); background: white; border-color: var(--blue); }
.hero-photo { position: absolute; inset: 0 0 0 45%; background: url("assets/hero-community.jpg") center / cover no-repeat; }
.hero-art { position: absolute; z-index: 2; left: 0; width: 235px; background-position: center; background-size: cover; pointer-events: none; }
.hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent 65%, white 100%); }
.hero-art--mate { top: 0; height: 220px; background-image: url("assets/hero-mate.jpg"); }
.hero-art--asado { bottom: 0; height: 170px; background-image: url("assets/hero-asado.jpg"); }

.community-links { position: relative; z-index: 5; padding: 16px 0 20px; background: white; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e1eaf3;
  border-radius: 14px;
  background: white;
  box-shadow: 0 5px 12px rgb(23 63 110 / 10%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card > img { width: 100%; height: 112px; object-fit: cover; }
.feature-icon {
  position: absolute;
  top: 88px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  background: linear-gradient(135deg, #4fa0f5, #2c7de8);
  border: 3px solid white;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 8px rgb(16 78 145 / 22%);
}
.feature-body { padding: 25px 20px 16px; }
.feature-body h3 { margin: 0 0 4px; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.15; }
.feature-body p { min-height: 63px; margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
.feature-body a { color: var(--blue-deep); font-size: 14px; font-weight: 700; text-decoration: none; }
.feature-body a span { display: inline-block; margin-left: 9px; transition: transform .18s ease; }
.feature-body a:hover span { transform: translateX(4px); }

.contact {
  position: relative;
  overflow: hidden;
  padding: 22px 0 24px;
  background:
    radial-gradient(circle at 8% 90%, rgb(123 185 248 / 38%) 0 1%, transparent 1.2%),
    linear-gradient(120deg, #e9f5ff 0%, #dcefff 45%, #f7fbff 70%, #dcedff 100%);
}
.contact::before, .contact::after { position: absolute; content: ""; border: 42px solid rgb(255 255 255 / 28%); border-radius: 50%; pointer-events: none; }
.contact::before { width: 380px; height: 380px; left: -170px; bottom: -240px; }
.contact::after { width: 520px; height: 520px; right: -220px; top: -330px; }
.contact-sun { position: absolute; z-index: 1; left: 4%; bottom: 38px; color: var(--gold); font-size: 82px; opacity: .9; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 330px 1fr; gap: 60px; align-items: center; }
.contact-details { min-height: 210px; padding: 4px 44px 4px 70px; border-right: 1px solid #8fadd0; }
.contact-logo { width: 220px; max-height: 68px; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.contact address { display: grid; gap: 13px; font-style: normal; }
.contact address a { display: flex; gap: 13px; align-items: center; color: var(--ink); font-size: 17px; text-decoration: none; }
.contact address a span { color: var(--blue); font-size: 22px; }
.social-links { display: flex; gap: 13px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 27px; height: 27px; color: white; background: var(--blue); border-radius: 7px; font-weight: 700; text-decoration: none; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.contact-form h2 { grid-column: 1 / -1; margin: 0 0 3px; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: 25px; font-weight: 400; }
.form-field { display: grid; gap: 4px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 13px; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #cfdce9; border-radius: 5px; background: rgb(255 255 255 / 92%); padding: 9px 11px; color: var(--text); outline: 0; }
.form-field input { height: 40px; }
.form-field textarea { resize: vertical; min-height: 74px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(47 128 237 / 14%); }
.form-actions { display: flex; align-items: center; gap: 18px; }
.form-actions .button { min-height: 36px; padding: 7px 17px; border: 0; }
.form-note { margin: 0; font-size: 13px; color: var(--ink); }

.site-footer { padding: 13px 0; color: #d9e9ff; background: var(--ink); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }

/* Interior pages */
.page-hero { padding: 72px 0 62px; color: white; background: linear-gradient(120deg, rgb(5 42 93 / 95%), rgb(47 128 237 / 84%)), url("assets/legacy-bg-1.jpg") center / cover; }
.page-hero h1 { max-width: 820px; margin: 0 0 14px; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(42px, 6vw, 72px); font-weight: 400; line-height: 1; }
.page-hero p { max-width: 760px; margin: 0; font-size: 18px; }
.content-section { padding: 62px 0; }
.content-section--tint { background: var(--sky-soft); }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 24px rgb(18 64 112 / 9%); }
.story-card img { width: 100%; height: 210px; object-fit: cover; }
.story-card div { padding: 22px; }
.story-card h2, .story-card h3 { margin: 0 0 10px; color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.15; }
.story-card p { margin: 0; }
.prose { max-width: 850px; margin-inline: auto; }
.prose h2 { color: var(--ink); font-family: "DM Serif Display", Georgia, serif; font-size: 36px; font-weight: 400; }
.prose p { font-size: 17px; line-height: 1.75; }
.page-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

@media (max-width: 1100px) {
  .nav-shell { gap: 18px; }
  .brand { flex-basis: 175px; }
  .brand img { width: 175px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .hero-copy { padding-left: 175px; }
  .hero-art { width: 160px; opacity: .68; }
  .contact-grid { grid-template-columns: 280px 1fr; gap: 34px; }
  .contact-details { padding-left: 44px; }
}

@media (max-width: 900px) {
  .site-header { position: sticky; }
  .nav-shell { min-height: 66px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: white;
    border-top: 1px solid #edf2f7;
    box-shadow: 0 12px 24px rgb(19 55 96 / 12%);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { justify-content: start; padding: 12px 0; font-size: 15px; }
  .main-nav a::after { right: auto; width: 42px; }
  .hero { min-height: auto; }
  .hero::after, .hero-art { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; width: 100%; }
  .hero-copy { padding: 46px 28px 36px; }
  .sun-divider { margin-left: 0; }
  .hero h1 { font-size: clamp(44px, 8vw, 64px); }
  .hero-photo { position: relative; inset: auto; min-height: 360px; background-position: center; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { min-height: auto; padding: 0 0 24px 90px; border-right: 0; border-bottom: 1px solid #8fadd0; }
  .contact-sun { bottom: auto; top: 72px; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 165px; }
  .hero-copy { padding-inline: 20px; }
  .sun-divider { width: 210px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-photo { min-height: 260px; }
  .community-links { padding-top: 22px; }
  .feature-grid, .content-grid { grid-template-columns: 1fr; }
  .feature-body p { min-height: auto; }
  .contact { padding-top: 30px; }
  .contact-sun { display: none; }
  .contact-details { padding-left: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field, .contact-form h2 { grid-column: 1; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .footer-row { flex-direction: column; text-align: center; }
  .page-hero { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
