/* ============================================
   PARACHUTE PAINTING - Main Stylesheet
   ============================================ */

/* ---------- 1. Variables ---------- */
:root {
  /* Brand Colors */
  --navy: #1a1f3d;
  --navy-light: #2a3058;
  --orange: #e8832a;
  --orange-hover: #d4741f;
  --gold: #f5c542;
  --white: #ffffff;
  --cream: #faf7f2;
  --gray-light: #f0ede8;
  --gray-text: #6b7280;
  --gray-dark: #333333;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing */
  --section-pad: clamp(3rem, 6vw, 6rem);
  --container: 1200px;
  --gap: 2rem;

  /* Effects */
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(26, 31, 61, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 31, 61, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--gray-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p + p {
  margin-top: 1rem;
}

/* ---------- 4. Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

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

.section-title p {
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 14px;
  margin: 1rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 8c15-6 30-4 45-3 20 1 35 3 55-1 8-2 14-2 16 0s-5 5-15 6c-18 2-40-1-58 0C27 11 10 13 3 11 0 10-1 9 2 8z' fill='%23e8832a' opacity='0.85'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.section-title--light h2 {
  color: var(--white);
}

.section-title--light p {
  color: rgba(255, 255, 255, 0.8);
}

.section-title--light::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 8c15-6 30-4 45-3 20 1 35 3 55-1 8-2 14-2 16 0s-5 5-15 6c-18 2-40-1-58 0C27 11 10 13 3 11 0 10-1 9 2 8z' fill='%23f5c542' opacity='0.85'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-body);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 131, 42, 0.4);
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header--solid {
  background: var(--navy);
}

.site-header--scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

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

.nav__logo img {
  height: 50px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: var(--fs-small);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.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);
}

/* ---------- 7. Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../assets/Parachute Background.jpg') center/cover no-repeat;
  position: relative;
  padding: 6rem 1.5rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 31, 61, 0.88) 0%, rgba(26, 31, 61, 0.65) 100%);
}

/* Paint drip at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20c-60 8-140 12-240 15-120 3-200-5-320 0s-220 15-360 10c-100-4-200-15-300-10S60 48 0 42z' fill='%23faf7f2'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 100%;
  transform: scaleY(-1);
  transform-origin: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.hero__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18'%3E%3Cpath d='M3 10c10-7 25-7 45-6 30 1 50 2 80-1 15-2 30-3 45-1 10 1 18 3 22 5 3 2 1 4-4 5-15 3-35 2-55 1-25-1-50-3-75-1-20 1-40 3-52 1C3 12 0 11 3 10z' fill='%23e8832a' opacity='0.7'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 8. Services Overview (Home) ---------- */
.services-overview {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  max-width: 380px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 6'%3E%3Cpath d='M0 3c30-3 60-2 100-1 50 1 100 2 150 0s80-3 130-1V0H0z' fill='%23e8832a'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 100%;
}

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

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--orange);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

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

.service-card__link {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.service-card__link:hover {
  gap: 0.8rem;
}

/* ---------- 9. Why Choose Us ---------- */
.why-us {
  background: var(--navy);
  padding: var(--section-pad) 0;
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v8c-100 8-240 12-380 10-180-3-300-10-420-6s-260 10-380 6C140 15 60 8 0 12z' fill='%231a1f3d'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 100%;
  transform: scaleY(-1);
  transform-origin: center;
}

.why-us__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center;
  text-align: center;
}

.why-us__item {
  flex: 1 1 200px;
  max-width: 260px;
  padding: 1.5rem;
  position: relative;
}

.why-us__item::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px;
  height: 70px;
  background: rgba(245, 197, 66, 0.08);
  border-radius: 4px;
  z-index: 0;
}

.why-us__icon {
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-us__icon svg {
  width: 40px;
  height: 40px;
}

.why-us__item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.why-us__item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
}

/* ---------- 10. Testimonials ---------- */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  flex: 1 1 300px;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='25' fill='%23e8832a'/%3E%3Ccircle cx='30' cy='30' r='12' fill='%23e8832a'/%3E%3Ccircle cx='75' cy='35' r='8' fill='%23e8832a'/%3E%3Ccircle cx='35' cy='72' r='10' fill='%23e8832a'/%3E%3Ccircle cx='70' cy='70' r='6' fill='%23e8832a'/%3E%3Ccircle cx='20' cy='55' r='5' fill='%23e8832a'/%3E%3Ccircle cx='80' cy='55' r='7' fill='%23e8832a'/%3E%3Ccircle cx='55' cy='25' r='4' fill='%23e8832a'/%3E%3Ccircle cx='45' cy='80' r='5' fill='%23e8832a'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.testimonial-card__quote {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  line-height: 1.8;
}

.testimonial-card__stars {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: var(--fs-small);
}

.testimonial-card__location {
  color: var(--gray-text);
  font-size: var(--fs-small);
}

/* ---------- 11. CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Cpath d='M20 100c30-40 80-30 120-20s80 25 120 10 70-45 120-30' fill='none' stroke='%23ffffff' stroke-width='40' stroke-linecap='round'/%3E%3Cpath d='M0 160c50-20 100 10 160-5s100-40 160-20 80 35 80 35' fill='none' stroke='%23ffffff' stroke-width='25' stroke-linecap='round'/%3E%3Cpath d='M30 40c40 10 80-15 130-5s90 30 140 10 60-25 100-15' fill='none' stroke='%23ffffff' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E") repeat;
  background-size: 400px 200px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ---------- 12. Page Header (Inner pages) ---------- */
.page-header {
  background: var(--navy);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v15c-80 8-200 12-320 15-150 3-280-8-420-3s-260 12-380 8C200 32 80 22 0 28z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 100%;
  transform: scaleY(-1);
  transform-origin: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

/* ---------- 13. About Page ---------- */
.about-story {
  padding: var(--section-pad) 0;
}

.about-story__grid {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-story__text {
  flex: 1;
}

.about-story__text h2 {
  margin-bottom: 1.5rem;
}

.about-story__text p {
  color: var(--gray-text);
}

.about-story__image {
  flex: 0 0 300px;
}

.about-story__image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Team */
.team {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.team-member {
  text-align: center;
  flex: 0 1 280px;
}

.team-member__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member__role {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: 0.75rem;
}

.team-member p {
  color: var(--gray-text);
  font-size: var(--fs-small);
}

/* Trust Badges */
.trust-badges {
  padding: 3rem 0;
  text-align: center;
}

.trust-badges p {
  color: var(--gray-text);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ---------- 14. Services Page ---------- */
.service-detail {
  padding: var(--section-pad) 0;
}

.service-detail:nth-child(even) {
  background: var(--cream);
}

.service-detail__grid {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-detail__grid--reverse {
  flex-direction: row-reverse;
}

.service-detail__content {
  flex: 1;
}

.service-detail__content h2 {
  margin-bottom: 1rem;
}

.service-detail__content > p {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
}

.service-detail__list {
  margin-bottom: 2rem;
}

.service-detail__list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-dark);
}

.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.service-detail__icon {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__icon svg {
  width: 200px;
  height: 200px;
  color: var(--orange);
  opacity: 0.15;
}

/* ---------- 15. Contact Page ---------- */
.contact-section {
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: flex;
  gap: 4rem;
}

.contact-form {
  flex: 1;
}

.contact-form h2 {
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--gray-text);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--gray-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 131, 42, 0.15);
}

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

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
}

.form-error {
  color: #e53e3e;
  font-size: var(--fs-small);
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  background: #f0fff4;
  border: 1px solid #68d391;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: #276749;
  display: none;
}

.form-success h3 {
  color: #276749;
  margin-bottom: 0.5rem;
}

.contact-info {
  flex: 0 0 350px;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__item h4 {
  font-size: var(--fs-small);
  margin-bottom: 0.2rem;
}

.contact-info__item p,
.contact-info__item a {
  color: var(--gray-text);
  font-size: var(--fs-small);
}

.contact-info__item a:hover {
  color: var(--orange);
}

.contact-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.contact-hours h4 {
  margin-bottom: 0.75rem;
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: var(--fs-small);
  color: var(--gray-text);
}

/* Reassurance Banner */
.reassurance {
  background: var(--cream);
  padding: 2.5rem 0;
  text-align: center;
}

.reassurance p {
  color: var(--gray-text);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 4rem 0 0;
  color: var(--white);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 35px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 35' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v10c-80 8-200 12-320 12-150 0-280-8-400-5s-240 10-360 7C240 21 120 13 0 16z' fill='%231a1f3d'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 100%;
  transform: scaleY(-1);
  transform-origin: center;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand {
  flex: 1 1 280px;
}

.footer__brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
  max-width: 280px;
}

.footer__links,
.footer__contact,
.footer__social {
  flex: 1 1 180px;
}

.footer__grid h4 {
  color: var(--white);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer__links a,
.footer__contact a,
.footer__contact p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--orange);
}

.footer__social-icons {
  display: flex;
  gap: 1rem;
}

.footer__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background var(--transition);
}

.footer__social-icons a:hover {
  background: var(--orange);
}

.footer__social-icons svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
}

/* ---------- 17. Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 18. Responsive ---------- */

/* Tablets */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .nav__links--open {
    gap: 3rem;
    display: flex;
  }

  .nav__link {
    padding: 0.5rem 0;
    width: 100%;
  }

  .nav__cta {
    padding-top: 0.75rem;
  }

  .nav__cta .btn {
    width: 100%;
    text-align: center;
  }

  .about-story__grid {
    flex-direction: column;
    gap: 2rem;
  }

  .about-story__image {
    flex: none;
    width: 200px;
    margin: 0 auto;
  }

  .service-detail__grid,
  .service-detail__grid--reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .service-detail__icon {
    flex: none;
    order: -1;
  }

  .contact-grid {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-info {
    flex: none;
  }
}

/* Small screens */
@media (max-width: 576px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer__grid {
    flex-direction: column;
    gap: 2rem;
  }

  .team-member__photo {
    width: 160px;
    height: 160px;
  }
}
