/* ============================================
   THE SHIPPING COMPANY — Global Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors */
  --navy: #0a1628;
  --navy-light: #0f1f35;
  --navy-mid: #162a45;
  --steel: #2c3e5a;
  --slate: #64748b;
  --silver: #94a3b8;
  --ghost: #e2e8f0;
  --white: #f8fafc;
  --pure-white: #ffffff;
  --accent: #2bb536;
  --accent-dark: #239b2d;
  --accent-light: #33cc33;
  --accent-glow: rgba(43, 181, 54, 0.13);
  --accent-subtle: rgba(43, 181, 54, 0.06);
  --success: #10b981;
  --error: #ef4444;

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container-max: 1200px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--pure-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--steel);
  max-width: 680px;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--pure-white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 181, 54, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--pure-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  border-color: var(--pure-white);
  background: rgba(255,255,255,0.08);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--ghost);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 82px;
  width: auto;
  aspect-ratio: 180 / 53;
}
.navbar.scrolled .nav-logo img {
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--pure-white);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pure-white);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(165deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.72) 50%, rgba(15,31,53,0.80) 100%),
    url('../../assets/img/immagine_hero.webp') center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(43, 181, 54, 0.06) 0%, transparent 70%);
  pointer-events: none;
}



.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
}

@media (max-width: 768px) {
  .hero-grid {
    padding-top: 130px;
  }
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(43, 181, 54, 0.1);
  border: 1px solid rgba(43, 181, 54, 0.22);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.hero h1 {
  color: var(--pure-white);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}
.stat-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(43, 181, 54, 0.2);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Hero Tracking Box --- */
.hero-tracking {
  margin-top: 24px;
  max-width: 100%;
}

.tracking-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.tracking-form {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.tracking-form:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.tracking-form input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--pure-white);
}
.tracking-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.tracking-btn {
  padding: 14px 20px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}
.tracking-btn:hover {
  background: var(--accent-dark);
}
.tracking-btn svg {
  stroke: var(--pure-white);
}

@media (max-width: 1024px) {
  .hero-tracking {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Section Defaults --- */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--slate);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--pure-white);
  border: 1px solid var(--ghost);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Why TSC (Vantaggi) --- */
.why-section {
  background: var(--navy);
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}
.why-section::before {
  content: none;
}

.why-section .section-header h2 {
  color: var(--pure-white);
}
.why-section .section-header p {
  color: var(--silver);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease);
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(43, 181, 54, 0.15);
}

.why-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(43, 181, 54, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-card h3 {
  color: var(--pure-white);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--silver);
  max-width: 100%;
}

/* --- Packopia Strip --- */
.packopia-strip {
  background: linear-gradient(135deg, #0c1a2e, #132440);
  border-top: 1px solid rgba(43, 181, 54, 0.1);
  border-bottom: 1px solid rgba(43, 181, 54, 0.1);
  padding: 48px 0;
}

.packopia-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.packopia-text h3 {
  color: var(--pure-white);
  margin-bottom: 8px;
}
.packopia-text h3 span {
  color: var(--accent);
}

.packopia-text p {
  color: var(--silver);
  font-size: 0.95rem;
  max-width: 560px;
}

.packopia-cta .btn {
  border-color: var(--accent);
  color: var(--accent);
}
.packopia-cta .btn:hover {
  background: var(--accent);
  color: var(--pure-white);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 181, 54, 0.05), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--pure-white);
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--silver);
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 0;
}

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

.footer-brand img {
  height: 62px;
  width: auto;
  aspect-ratio: 180 / 53;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--silver);
  font-size: 0.9rem;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer h4 {
  color: var(--pure-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--silver);
  padding: 5px 0;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--silver);
  margin-bottom: 12px;
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--slate);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--slate);
}
.footer-legal a:hover {
  color: var(--accent);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--pure-white);
  border: 1.5px solid var(--ghost);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: 0;
}

.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

/* --- Page Header (Subpages) --- */
.page-header {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(43, 181, 54, 0.05), transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--pure-white);
  margin-bottom: 16px;
}

.page-header p {
  color: var(--silver);
  font-size: 1.1rem;
  margin: 0 auto;
}

/* --- Content Pages --- */
.content-section {
  padding: var(--section-pad) 0;
}

.content-section h2 {
  margin-bottom: 24px;
}

.content-section h3 {
  margin: 32px 0 12px;
}

.content-section p {
  margin-bottom: 16px;
  max-width: 100%;
}

.content-section ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.content-section ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 0.95rem;
}
.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ghost);
}

.value-card .value-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.value-card h4 {
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.contact-form-card {
  background: var(--pure-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ghost);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.04);
}

.contact-info-card {
  padding: 48px 0;
}

.info-block {
  margin-bottom: 36px;
}
.info-block h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-block p,
.info-block a {
  color: var(--steel);
  font-size: 0.95rem;
}
.info-block a:hover {
  color: var(--accent);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--ghost);
}

.map-container iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--pure-white);
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  border-top: 1px solid rgba(43, 181, 54, 0.2);
}
.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--silver);
  min-width: 280px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 10px 22px;
  font-size: 0.82rem;
}

/* --- Audit Lead Magnet --- */
.audit-section {
  background: linear-gradient(135deg, #0c1a2e, #0f2540);
  padding: 64px 0;
}

.audit-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  background: rgba(43, 181, 54, 0.05);
  border: 1px solid rgba(43, 181, 54, 0.18);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.audit-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.audit-text h3 {
  color: var(--pure-white);
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.audit-text p {
  color: var(--silver);
  font-size: 0.97rem;
  margin-bottom: 20px;
}

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

.audit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.audit-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.audit-note {
  font-size: 0.78rem;
  color: var(--slate);
  max-width: 160px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .audit-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .audit-icon { display: none; }
  .audit-list { align-items: center; }
  .audit-cta { align-items: center; }
}

/* --- FAQ --- */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--ghost);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--ghost);
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--pure-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.faq-question:hover {
  background: var(--white);
  color: var(--accent);
}
.faq-question[aria-expanded="true"] {
  color: var(--accent);
  background: rgba(43, 181, 54, 0.04);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 22px;
  font-size: 0.93rem;
  color: var(--steel);
  max-width: 100%;
}

.faq-footer {
  text-align: center;
  padding-top: 40px;
  color: var(--slate);
  font-size: 0.92rem;
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .packopia-inner { flex-direction: column; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
