/* ============================================================
   NOTAR VENDEL — Main Stylesheet (v2 — polished)
   ============================================================ */

/* --- Variables --- */
:root {
  --navy:        #1a2740;
  --navy-dark:   #111c2d;
  --navy-mid:    #243352;
  --gold:        #b8974a;
  --gold-light:  #c9a85c;
  --gold-pale:   #f5f0e8;
  --cream:       #f5f2ec;
  --cream-dark:  #ede9e1;
  --white:       #ffffff;
  --text:        #1a2740;
  --text-muted:  #5a6478;
  --text-light:  #8a93a6;
  --border:      #e2ddd6;
  --border-light:#ede9e2;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-width:   1200px;
  --nav-height:  72px;

  --shadow-sm:   0 1px 4px rgba(26,39,64,0.06);
  --shadow-card: 0 2px 16px rgba(26,39,64,0.07);
  --shadow-hover:0 12px 40px rgba(26,39,64,0.14);
  --shadow-gold: 0 4px 20px rgba(184,151,74,0.35);
  --radius:      10px;
  --radius-sm:   6px;
  --transition:  0.22s ease;
  --transition-slow: 0.38s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Flexbox body so footer is always at the bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.18;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.78; }

/* --- Gold rule accent --- */
.gold-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  box-shadow: 0 6px 24px rgba(26,39,64,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* Compact nav booking button */
.btn-nav {
  padding: 10px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}
.btn-nav svg { width: 13px; height: 13px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(26,39,64,0.09);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.nav-logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1px;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-center a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-center a:hover,
.nav-center a.active {
  color: var(--navy);
}
.nav-center a:hover::after,
.nav-center a.active::after {
  width: 100%;
}
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 28, 45, 0.5);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.open {
  opacity: 1;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 24px 32px 32px;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  box-shadow: 0 12px 40px rgba(26,39,64,0.12);
}
.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
}
.nav-drawer a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition), padding-left var(--transition);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover, .nav-drawer a.active { color: var(--navy); padding-left: 6px; }
.nav-drawer .btn-nav {
  display: inline-flex;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand .footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  display: block;
}
.footer-brand .footer-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-top: 3px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,39,64,0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition);
  z-index: 90;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--navy-mid); }
.scroll-top svg { width: 18px; height: 18px; }

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
}
.anim-fade-up.visible {
  animation: fadeUp 0.6s ease forwards;
}
.anim-fade-in {
  opacity: 0;
}
.anim-fade-in.visible {
  animation: fadeIn 0.5s ease forwards;
}
/* Stagger delays for grid items */
.anim-delay-1 { animation-delay: 0.08s; }
.anim-delay-2 { animation-delay: 0.16s; }
.anim-delay-3 { animation-delay: 0.24s; }
.anim-delay-4 { animation-delay: 0.32s; }
.anim-delay-5 { animation-delay: 0.40s; }
.anim-delay-6 { animation-delay: 0.48s; }

/* ============================================================
   HOME PAGE
   ============================================================ */
.home-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}
.home-hero-content h1 {
  margin-bottom: 22px;
  max-width: 520px;
}
.home-hero-content .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  line-height: 1.8;
  max-width: 460px;
}
.home-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Trust badges below CTA */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.home-hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}
/* Decorative background element behind photo */
.home-hero-image::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 80%;
  height: 80%;
  background: var(--cream-dark);
  border-radius: var(--radius);
  z-index: 0;
}
.home-hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-hover);
}
.hero-caption {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  box-shadow: var(--shadow-sm);
}
.hero-caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.hero-caption span {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 40px 80px;
}
.section-intro { margin-bottom: 52px; }
.section-intro h1 { margin-bottom: 14px; }
.section-intro p  { max-width: 600px; font-size: 1.02rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
/* Gold left-border accent on hover */
.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-slow);
  border-radius: 0 0 0 var(--radius);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleY(1);
}
.service-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: rgba(184,151,74,0.18);
}
.service-icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--text-muted);
}

/* ============================================================
   REMOTE NOTARIZATION PAGE
   ============================================================ */
.remote-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.remote-left h1 { margin-bottom: 20px; }
.remote-left p {
  margin-bottom: 32px;
  font-size: 1.02rem;
  max-width: 440px;
}

.steps-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.step:first-child { padding-top: 0; }
.step:last-child  { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  letter-spacing: 0;
}
.step p {
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--text-muted);
  padding-top: 4px;
}
.step p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Login CTA card */
.login-cta-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.login-cta-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.6;
}
.login-cta-card strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Service modes tabs */
.modes-section {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}
.modes-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 40px 72px;
}
.modes-inner .section-intro {
  text-align: center;
  margin-bottom: 40px;
}
.modes-inner .section-intro h2 { display: inline-block; }

.modes-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.mode-tab {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 40px;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
}
.mode-tab.active, .mode-tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 2px 12px rgba(26,39,64,0.18);
}
.mode-content {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.mode-content.active { display: block; }
.mode-content p { font-size: 1rem; line-height: 1.82; }

/* ============================================================
   CALCULATOR PAGE
   ============================================================ */
.calc-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 40px 80px;
  flex: 1;
}
.calc-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 56px 64px;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.calc-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.calc-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.calc-card h1 { margin-bottom: 16px; }
.calc-card p  { margin-bottom: 36px; font-size: 1.02rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-details h1 { margin-bottom: 40px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon-wrap {
  width: 38px;
  height: 38px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.contact-item-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-item-text span,
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-item-text a:hover { color: var(--gold); }

.contact-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}
.contact-image-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* ============================================================
   PAGE HEADER (inner pages top strip)
   ============================================================ */
.page-header {
  background: var(--navy-dark);
  padding: 48px 40px 44px;
}
.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-header p  { color: rgba(255,255,255,0.6); margin-top: 10px; font-size: 1.02rem; max-width: 560px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-inner { padding: 0 24px; }
  .nav-center { display: none; }
  .nav-right  { display: none; }
  .nav-toggle { display: flex; }
  .nav-overlay, .nav-drawer { display: block; }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 56px;
  }
  .home-hero-image { order: -1; }
  .home-hero-image::before { display: none; }
  .home-hero-image img { max-width: 260px; }
  .home-hero-content h1 { max-width: 100%; }
  .home-hero-content .lead { max-width: 100%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-section { padding: 48px 24px 56px; }

  .remote-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 56px;
  }
  .remote-left p { max-width: 100%; }
  .modes-inner { padding: 48px 24px 56px; }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 56px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 48px 24px 36px;
    gap: 36px;
  }
  .footer-bottom { padding: 16px 24px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .home-hero-btns { flex-direction: column; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }

  .modes-tabs { gap: 8px; }

  .calc-outer { padding: 40px 16px 48px; }
  .calc-card  { padding: 36px 28px; }

  .page-header { padding: 36px 24px 32px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 24px;
  }
  .login-cta-card { flex-direction: column; }

  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
