/* ============================================================
   ESTUDIO BERGMAN — CONTADORES PÚBLICOS
   CSS Mobile-first | Breakpoints: 480 / 768 / 1024px
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8f9fc;
  --white: #ffffff;
  --primary: #1e3a5f;
  --primary-light: #2d5282;
  --accent: #b8860b;
  --text: #1a2030;
  --muted: #6b7280;
  --surface: #eef2f7;
  --border: #d1dce9;

  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
  --shadow-md: 0 4px 24px rgba(30, 58, 95, 0.13);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
}

.btn--secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
}
.btn--secondary:hover {
  background: var(--border);
}

.btn--nav {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  padding: 9px 18px;
}
.btn--nav:hover { background: var(--primary-light); }

.btn--full { width: 100%; justify-content: center; }
.btn--large { padding: 14px 28px; font-size: 1rem; }

/* ── TOP BAR ── */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  text-align: center;
}

.topbar__inner i { margin-right: 5px; color: var(--accent); }

.topbar__separator {
  display: none;
  color: rgba(255,255,255,0.3);
}

@media (min-width: 768px) {
  .topbar__separator { display: inline; }
  .topbar__inner { flex-wrap: nowrap; }
}

/* ── HEADER / NAV ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.nav__logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.nav__logo-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__links {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 1005;
}

.nav__links.open { display: flex; }

.nav__link {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav__link:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

@media (min-width: 1024px) {
  .nav__hamburger { display: none; }

  .nav__links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: none;
    top: auto; left: auto; right: auto; bottom: auto;
  }

  .nav__link {
    font-size: 0.88rem;
    padding: 6px 12px;
    border-bottom: none;
  }

  .nav__link:hover { border-bottom: none; color: var(--primary); }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 33, 58, 0.55);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 60px 20px;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 134, 11, 0.18);
  border: 1px solid rgba(184, 134, 11, 0.5);
  color: #f0c040;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (min-width: 768px) {
  .hero__title { font-size: 2.7rem; }
  .hero__subtitle { font-size: 1.12rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 3.1rem; }
}

/* ── SECTIONS ── */
.section {
  padding: 72px 0;
}

.section--surface { background: var(--surface); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.25);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 14px;
}

.section__title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.section__desc {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .section__title { font-size: 2.1rem; }
}

/* ── SERVICES GRID ── */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card__icon i {
  font-size: 1.3rem;
  color: var(--primary);
}

.service-card__title {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition);
}

.service-card__toggle i {
  transition: transform var(--transition);
  font-size: 0.75rem;
}

.service-card__toggle.open i { transform: rotate(180deg); }

.service-card__extra {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.service-card__extra.open { display: block; }

.service-card__extra ul { padding-left: 0; }

.service-card__extra li {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-card__extra li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── CALCULADORA ── */
.calc__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .calc__wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.calc__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.calc__select,
.calc__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.calc__select:focus,
.calc__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.calc__input-wrap {
  position: relative;
}

.calc__prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
}

.calc__input-wrap .calc__input {
  padding-left: 26px;
}

.calc__radios {
  display: flex;
  gap: 20px;
}

.calc__radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.calc__radio-label input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.calc__result {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc__result-placeholder {
  text-align: center;
  color: var(--muted);
}

.calc__result-placeholder i {
  font-size: 2rem;
  color: var(--border);
  margin-bottom: 12px;
}

.calc__result-placeholder p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.calc__result-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc__result-data {
  width: 100%;
}

.calc__cat-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(30, 58, 95, 0.07);
  border-radius: var(--radius);
  padding: 8px 20px;
  margin-bottom: 14px;
}

.calc__result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.calc__result-row:last-child { border-bottom: none; }

.calc__result-row span:first-child { color: var(--muted); }
.calc__result-row span:last-child { font-weight: 600; color: var(--text); }

.calc__result-warning {
  background: #fff8e1;
  border: 1px solid #f0c040;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #7a5c00;
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.calc__disclaimer {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.calc__disclaimer i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ── VENCIMIENTOS ── */
.venc__wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.venc__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.venc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
}

.venc__table thead {
  background: var(--primary);
  color: var(--white);
}

.venc__table th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.venc__table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.venc__table tbody tr:last-child td { border-bottom: none; }

.venc__table tbody tr:hover { background: #f0f4fb; }

.venc__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.venc__badge--ok { background: #d1fae5; color: #065f46; }
.venc__badge--warn { background: #fef3c7; color: #92400e; }
.venc__badge--danger { background: #fee2e2; color: #991b1b; }
.venc__badge--past { background: #f3f4f6; color: #6b7280; }

.venc__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.venc__note i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ── TEAM ── */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .team__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-card__img-wrap {
  height: 220px;
  overflow: hidden;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__img { transform: scale(1.04); }

.team-card__body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__name {
  font-size: 1.05rem;
  color: var(--primary);
}

.team-card__role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card__mat {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.team-card__bio {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.team-card__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 40px;
  background: rgba(30, 58, 95, 0.08);
  color: var(--primary);
  border: 1px solid rgba(30, 58, 95, 0.15);
}

/* ── NEWS ── */
.news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .news__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .news__grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card__img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__img { transform: scale(1.05); }

.news-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 40px;
}

.news-card__body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card__date {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}

.news-card__title {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.35;
}

.news-card__excerpt {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
  transition: gap var(--transition), color var(--transition);
}

.news-card__link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ── CONTACT ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
  }
}

.contact__info { padding-top: 4px; }

.contact__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 32px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__list i {
  width: 36px;
  height: 36px;
  background: rgba(30, 58, 95, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.contact__list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__list strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact__list span,
.contact__list a {
  font-size: 0.93rem;
  color: var(--text);
}

.contact__list a:hover { color: var(--primary); text-decoration: underline; }

.contact__cred {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 58, 95, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
}

.contact__cred i { color: var(--accent); }

/* ── FORM ── */
.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 480px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.form__req { color: var(--accent); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form__input.error,
.form__select.error,
.form__textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form__textarea { resize: vertical; min-height: 110px; }

.form__error {
  font-size: 0.78rem;
  color: #dc2626;
  min-height: 16px;
}

.form__file-wrap { position: relative; }

.form__file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.form__file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--bg);
  transition: border-color var(--transition), background var(--transition);
}

.form__file-label:hover {
  border-color: var(--primary);
  background: rgba(30, 58, 95, 0.04);
  color: var(--primary);
}

/* ── FOOTER ── */
.footer {
  background: #0f2240;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer__addr,
.footer__hours {
  font-size: 0.84rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer__addr i,
.footer__hours i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color var(--transition);
}

.footer__contact a:hover { color: var(--white); }

.footer__contact i { color: var(--accent); width: 14px; }

.footer__bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #065f46;
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 9999;
  max-width: 360px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i { font-size: 1.1rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for service cards */
.service-card[data-index="1"].reveal { transition-delay: 0.07s; }
.service-card[data-index="2"].reveal { transition-delay: 0.14s; }
.service-card[data-index="3"].reveal { transition-delay: 0.07s; }
.service-card[data-index="4"].reveal { transition-delay: 0.14s; }
.service-card[data-index="5"].reveal { transition-delay: 0.21s; }

/* ── UTILITY ── */
@media (max-width: 639px) {
  .section { padding: 52px 0; }
  .section__title { font-size: 1.5rem; }
  .contact__form { padding: 22px 18px; }
  .venc__table th, .venc__table td { padding: 11px 12px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
