/* ==========================================================================
   A&A Communications — Professional B2B Telecom
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand */
  --primary:        #1e40af;         /* Deep telecom blue */
  --primary-dark:   #1e3a8a;
  --primary-light:  #3b82f6;
  --primary-soft:   #eff6ff;
  --accent:         #f97316;         /* Orange CTA */
  --accent-dark:    #ea580c;
  --accent-soft:    #fff7ed;

  /* Surface */
  --bg:             #ffffff;
  --bg-soft:        #f8fafc;
  --bg-blue:        #f0f6ff;
  --surface:        #ffffff;
  --border:         #e5e7eb;
  --border-soft:    #f1f5f9;

  /* Text */
  --text:           #0f172a;         /* Almost-black, warm */
  --text-body:      #334155;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;

  /* Semantic */
  --warn:           #f59e0b;
  --crit:           #dc2626;
  --crit-soft:      #fef2f2;
  --ok:             #16a34a;

  /* Type */
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:   'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing */
  --container:      1240px;
  --gutter:         2rem;

  /* Radii */
  --r-sm:           6px;
  --r-md:           10px;
  --r-lg:           16px;
  --r-xl:           24px;

  /* Shadow */
  --shadow-sm:      0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md:      0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg:      0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-blue:    0 8px 24px rgba(30, 64, 175, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ==========================================================================
   Type
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-body); }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 60ch;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: inline-block;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 6rem 0; }
section.tight { padding: 3.5rem 0; }
section.alt { background: var(--bg-soft); }
section.brand { background: var(--primary); color: white; }

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-title .eyebrow { margin-bottom: 0.75rem; }
.section-title h2 { margin-bottom: 1rem; }
.section-title p { font-size: 1.1rem; color: var(--text-muted); }

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-ghost {
  background: white;
  color: var(--primary);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); }

.btn-arrow svg { width: 14px; height: 14px; transition: transform 0.18s; }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* ==========================================================================
   Top utility bar
   ========================================================================== */

.utility-bar {
  background: var(--primary-dark);
  color: white;
  padding: 0.625rem 0;
  font-size: 0.875rem;
}

.utility-bar .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar .left, .utility-bar .right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.utility-bar a {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.utility-bar a:hover { opacity: 1; }

.utility-bar svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .utility-bar .left { display: none; }
  .utility-bar .inner { justify-content: center; }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav .logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
}

.nav .logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav .logo-text .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav .logo-text .brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav .links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav .links a {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
  position: relative;
}

.nav .links a:hover { color: var(--primary); }
.nav .links a.cta { background: var(--accent); color: white; padding: 0.625rem 1.25rem; border-radius: var(--r-md); }
.nav .links a.cta:hover { background: var(--accent-dark); color: white; }

@media (max-width: 900px) {
  .nav .links { gap: 1rem; }
  .nav .links a:not(.cta) { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.92) 0%, rgba(30, 58, 138, 0.85) 50%, rgba(15, 23, 42, 0.75) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=85&fm=jpg&auto=format') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  padding: 5rem 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.25), transparent 50%);
  pointer-events: none;
}

.hero .inner { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: #fbbf24; }

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-trust strong { color: white; font-weight: 700; }

.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust .item svg { color: #fbbf24; }

/* Hero side card */
.hero-card {
  background: white;
  color: var(--text);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.hero-card .desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-card .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.hero-card .stat .num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-card .stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { min-height: 0; padding: 4rem 0; }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  padding: 2.5rem 0;
  background: white;
  border-bottom: 1px solid var(--border-soft);
}

.trust-strip .label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
  opacity: 0.7;
}

.trust-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.service-card.warn .icon { background: var(--accent-soft); color: var(--accent-dark); }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.625rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card .link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
}

.service-card .link svg { width: 14px; height: 14px; transition: transform 0.18s; }
.service-card:hover .link svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   POTS Alert (urgent banner)
   ========================================================================== */

.alert-banner {
  background:
    linear-gradient(135deg, var(--crit) 0%, #b91c1c 100%);
  color: white;
  padding: 3rem 2.5rem;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.alert-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 50%;
  transform: translate(100px, -100px);
}

.alert-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.alert-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.alert-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.alert-banner h2 {
  color: white;
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.alert-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .alert-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .alert-banner { padding: 2rem 1.5rem; }
  .alert-banner h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   Stats / metrics
   ========================================================================== */

.metrics-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric .num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: white;
  line-height: 1;
}
.metric .num .accent { color: #fbbf24; }

.metric .label {
  margin-top: 0.625rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-blue);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .process { grid-template-columns: 1fr; gap: 2.5rem; }
  .process::before { display: none; }
}

/* ==========================================================================
   Industries grid
   ========================================================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.industry-card:hover::before { transform: scaleX(1); }
.industry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.industry-card .icon {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Why choose us — with image side
   ========================================================================== */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-split .image-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
}
.feature-split .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.feature-list .check svg { width: 12px; height: 12px; }

.feature-list .content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-list .content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-split .image-wrap { order: -1; aspect-ratio: 16/9; }
}

/* ==========================================================================
   Testimonial / quote
   ========================================================================== */

.testimonial {
  background: white;
  border-radius: var(--r-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -2rem;
  left: 2.5rem;
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}

.testimonial .quote {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.testimonial .attr {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.testimonial .attr-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.testimonial .attr .name { font-weight: 700; }
.testimonial .attr .title { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.625rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.faq-item h4::before {
  content: 'Q';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 2.125rem;
}

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

/* ==========================================================================
   CTA section
   ========================================================================== */

.cta-final {
  position: relative;
  padding: 6rem 0;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.97), rgba(30, 58, 138, 0.95)),
    url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1920&q=85&fm=jpg&auto=format') center/cover no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.15), transparent 50%);
}

.cta-final .inner { position: relative; z-index: 1; }

.cta-final h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Form
   ========================================================================== */

.form-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 580px;
}

.form-card h3 { margin-bottom: 0.5rem; }
.form-card .desc { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.form-row { margin-bottom: 1.25rem; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }

.form-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.form-card textarea { resize: vertical; min-height: 100px; }

.form-card button {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.18s;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}
.form-card button:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

@media (max-width: 600px) {
  .form-row.split { grid-template-columns: 1fr; }
  .form-card { padding: 1.75rem; }
}

/* ==========================================================================
   Two col
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.two-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.two-col p { margin-bottom: 1rem; line-height: 1.7; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--text);
  color: white;
  padding: 4rem 0 2rem;
}

footer .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

footer .brand-block .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
footer .brand-block .logo-mark {
  width: 36px;
  height: 36px;
  background: white;
  color: var(--primary);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
footer .brand-block .brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

footer .brand-block p {
  font-size: 0.9rem;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

footer h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
footer ul a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
}
footer ul a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
}
