:root {
  --color-navy-900: #061024;
  --color-navy-800: #0a1838;
  --color-navy-700: #10244f;
  --color-navy-600: #18346b;
  --color-navy-500: #244d94;
  --color-copper: #cc0000;
  --color-copper-light: #ff4444;
  --color-copper-dark: #990000;
  --color-cream: #faf8f5;
  --color-warm-white: #ffffff;
  --color-stone: #f2ede6;
  --color-text: #1a1f2e;
  --color-text-secondary: #5a6272;
  --color-text-muted: #8a93a5;
  --color-border: rgba(26, 31, 46, 0.08);
  --color-border-strong: rgba(26, 31, 46, 0.15);
  --color-success: #059669;
  --color-danger: #dc2626;

  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --shadow-sm: 0 1px 2px rgba(6, 16, 36, 0.04);
  --shadow-md: 0 4px 12px rgba(6, 16, 36, 0.06);
  --shadow-lg: 0 12px 32px rgba(6, 16, 36, 0.1);
  --shadow-xl: 0 24px 64px rgba(6, 16, 36, 0.14);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--color-navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 0.75rem;
  outline: 3px solid var(--color-copper-light);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-copper);
  outline-offset: 2px;
}

/* Scroll-triggered reveal animations (progressive enhancement) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-navy-600);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--color-copper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0 0 0.6em;
  line-height: 1.15;
  color: var(--color-navy-900);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  margin: 0 0 1.25em;
}

ul, ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--color-warm-white);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-copper);
  margin-bottom: 1rem;
}

/* Top bar */
.top-bar {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-contacts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.top-bar-link:hover {
  color: var(--color-copper-light);
}

.top-bar-link svg {
  color: var(--color-copper-light);
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s var(--ease-out);
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
  background: var(--color-navy-900);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-link {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  border-radius: 999px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--color-copper);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover {
  color: var(--color-navy-900);
  background: rgba(204, 0, 0, 0.08);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-item.active .nav-link {
  color: var(--color-navy-900);
  background: rgba(204, 0, 0, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-navy-900);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 36, 0.82) 0%, rgba(6, 16, 36, 0.25) 32%, rgba(6, 16, 36, 0) 55%),
    linear-gradient(90deg, rgba(6, 16, 36, 0.98) 0%, rgba(6, 16, 36, 0.96) 40%, rgba(6, 16, 36, 0.72) 60%, rgba(6, 16, 36, 0.3) 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes::before,
.hero-shapes::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-shapes::before {
  width: 500px;
  height: 500px;
  background: var(--color-copper);
  top: -120px;
  right: -80px;
}

.hero-shapes::after {
  width: 360px;
  height: 360px;
  background: var(--color-navy-500);
  bottom: -80px;
  right: 15%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  padding: 0 1.5rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-label span {
  width: 8px;
  height: 8px;
  background: var(--color-copper-light);
  border-radius: 50%;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: none;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.hero-card .card-heading {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-copper-light);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--color-copper);
  color: #fff;
  border-color: var(--color-copper);
}

.btn-primary:hover {
  background: var(--color-copper-dark);
  border-color: var(--color-copper-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary {
  background: var(--color-navy-700);
  color: #fff;
  border-color: var(--color-navy-700);
}

.btn-secondary:hover {
  background: var(--color-navy-800);
  border-color: var(--color-navy-800);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--color-navy-900);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--color-cream);
  border-color: var(--color-cream);
  color: var(--color-navy-900);
}

/* Page title */
.page-title {
  background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-navy-700) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(204, 0, 0, 0.2) 0%, transparent 50%);
}

.page-title .container {
  position: relative;
  z-index: 1;
}

.page-title h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-title p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Intro text */
.intro-text {
  font-size: 1.25rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.intro-text strong {
  color: var(--color-navy-900);
  font-weight: 600;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-copper-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 0, 0, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.service-icon img,
.service-icon svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card p {
  color: var(--color-text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-link {
  font-weight: 700;
  color: var(--color-copper);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link:hover {
  color: var(--color-copper-dark);
  gap: 0.6rem;
}

/* Service cards with imagery */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card-image {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.service-card-image::before {
  height: 100%;
  width: 4px;
  right: auto;
  bottom: auto;
  transform: scaleY(0);
  transform-origin: top;
}

.service-card-image:hover::before {
  transform: scaleY(1);
}

.service-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card-image:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card-body p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Testimonial */
.testimonial {
  background: var(--color-warm-white);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--color-copper);
  opacity: 0.15;
  position: absolute;
  top: -1rem;
  left: 2rem;
  line-height: 1;
}

.testimonial blockquote {
  margin: 0;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 700;
  color: var(--color-navy-900);
}

.testimonial cite span {
  display: block;
  font-weight: 500;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* About page */
.team-section {
  background: var(--color-warm-white);
}

.team-intro {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.team-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.team-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-row-photo {
  width: 220px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-800) 0%, var(--color-navy-600) 100%);
  flex-shrink: 0;
}

.team-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-row:hover .team-row-photo img {
  transform: scale(1.05);
}

.team-row-body h3 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.team-row-body .team-role {
  color: var(--color-copper);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.team-email {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy-600);
  margin-bottom: 1rem;
}

.team-email:hover {
  color: var(--color-copper);
}

.team-row-body p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.team-row-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .team-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-row-photo {
    margin: 0 auto;
  }
}

/* Services page */
.services-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.service-block {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease-out);
}

.service-block:hover {
  box-shadow: var(--shadow-md);
}

.service-block-title {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.service-block-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-copper);
  border-radius: 50%;
}

.service-block ul {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.service-block li {
  margin-bottom: 0.6rem;
}

.service-block li::marker {
  color: var(--color-copper);
}

.service-flyers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: sticky;
  top: 120px;
}

.flyer {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-warm-white);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.flyer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.flyer img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1100px) {
  .services-detail {
    grid-template-columns: 1fr;
  }

  .service-flyers {
    position: relative;
    top: auto;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
  }
}

/* Resources page */
.calculator {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 4rem;
}

.calculator h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.calc-column {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.calc-column-title {
  text-align: center;
  background: var(--color-navy-900);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin: -1.5rem -1.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.form-row input,
.form-row output {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-warm-white);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-row input:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
}

.form-row output,
.form-row input[readonly] {
  background: var(--color-stone);
  font-weight: 700;
  color: var(--color-navy-900);
}

.calc-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.calc-summary {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.resource-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.resource-list {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.resource-list h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-copper);
}

.resource-list ul {
  list-style: none;
  padding: 0;
}

.resource-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.resource-list li::before {
  content: '→';
  color: var(--color-copper);
  font-weight: 700;
}

.article-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.article-meta {
  font-size: 0.875rem;
  color: var(--color-copper);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Portal */
.portal-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.portal-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portal-card .service-icon {
  margin: 0 auto 1.5rem;
  width: 96px;
  height: 96px;
}

.portal-card .service-icon svg {
  width: 48px;
  height: 48px;
}

.portal-card-title {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.portal-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1.75rem;
}

.portal-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-secondary);
}

.portal-note a {
  text-decoration: underline;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.contact-card-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.contact-info-card address {
  font-style: normal;
  line-height: 2;
  color: var(--color-text-secondary);
}

.contact-info-card address strong {
  color: var(--color-navy-900);
}

.contact-info-card address a {
  color: var(--color-navy-900);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.contact-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out);
}

.contact-photo:hover {
  transform: translateY(-4px);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1.2;
}

.form-embed {
  width: 100%;
  height: 1450px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy-900);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-cream);
  color: var(--color-text);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
  background: var(--color-warm-white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0.5rem 0 0;
}

.form-note a {
  color: var(--color-navy-900);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-copper), var(--color-copper-light));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-heading {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--color-copper-light);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.sub-footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.75rem 0;
}

.sub-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.social-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.75rem;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.social-list a:hover {
  background: var(--color-copper);
  color: #fff;
  transform: translateY(-3px);
}

.social-icon {
  width: 18px;
  height: 18px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive */
@media (min-width: 992px) {
  .hero-visual {
    display: block;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .top-bar-contacts {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }

  .top-bar-link {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }

  .top-bar-link svg {
    flex-shrink: 0;
    margin-top: 0.15em;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
  }

  .site-nav.open {
    max-height: 420px;
  }

  .site-nav {
    flex-direction: column;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    justify-content: flex-start;
    font-size: 1.05rem;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-photos {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}
