/* ============================================
   Libertyville Family Dental — Custom Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  --terracotta: #C0603A;
  --terracotta-dark: #A84E32;
  --terracotta-light: #D4845A;
  --terracotta-muted: #F5E6DE;
  --sand: #FDF6EF;
  --sand-dark: #C9A96E;
  --sand-light: #FDF9F5;
  --cream: #FFFCF8;
  --text-dark: #2C1810;
  --text-body: #5A3E2E;
  --text-muted: #8B7355;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.12);
  --shadow-card: 0 4px 24px rgba(192, 96, 58, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--terracotta-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 28px;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 4px 16px rgba(192, 96, 58, 0.3);
}

.btn-terracotta:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(192, 96, 58, 0.4);
}

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

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

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Section Tags --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  background: var(--terracotta-muted);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 246, 239, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 96, 58, 0.08);
  transition: box-shadow var(--transition);
}

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

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

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-line1 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-line2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.02em;
}

/* --- Navigation --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-body);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-menu a:hover {
  color: var(--terracotta);
  background: var(--terracotta-muted);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 50%, var(--terracotta-muted) 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

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

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero-circle--1 {
  width: 600px;
  height: 600px;
  background: var(--terracotta);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-circle--2 {
  width: 300px;
  height: 300px;
  background: var(--sand-dark);
  bottom: 10%;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-circle--3 {
  width: 150px;
  height: 150px;
  background: var(--terracotta-light);
  top: 40%;
  left: 30%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 520 / 620;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 14px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float--1 {
  bottom: 60px;
  left: -30px;
  color: var(--terracotta);
  animation-delay: 0s;
}

.hero-float--2 {
  top: 40px;
  right: -20px;
  color: var(--sand-dark);
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Services --- */
.services {
  background: var(--sand);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid rgba(192, 96, 58, 0.06);
  position: relative;
  overflow: hidden;
}

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

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

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-muted);
  border-radius: var(--radius-sm);
  color: var(--terracotta);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--terracotta);
  color: var(--white);
}

.service-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- About --- */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 480 / 560;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream);
  aspect-ratio: 320 / 280;
  width: 220px;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -20px;
  right: 40px;
  opacity: 0.4;
}

.about-content {
  padding: 20px 0;
}

.about-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-body--light {
  color: rgba(255, 255, 255, 0.85);
}

.section-title--light + .about-body--light {
  color: rgba(255, 255, 255, 0.85);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-muted);
  border-radius: var(--radius-sm);
}

.value-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.value-item span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- New Patients --- */
.new-patients {
  background: linear-gradient(135deg, var(--terracotta-dark) 0%, var(--terracotta) 60%, var(--terracotta-light) 100%);
  position: relative;
  overflow: hidden;
}

.new-patients::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.new-patients-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.new-patients-content {
  padding: 20px 0;
}

.new-patient-steps {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.new-patient-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.new-patient-steps a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.new-patients-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 440 / 500;
}

.new-patients-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Contact --- */
.contact {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-muted);
  border-radius: var(--radius-sm);
}

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-card a {
  color: var(--terracotta);
  font-weight: 600;
}

.contact-hint {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--terracotta);
  margin-top: 8px;
}

.link-arrow svg {
  transition: transform var(--transition);
}

.link-arrow:hover svg {
  transform: translate(3px, -3px);
}

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--sand-light);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B7355' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-muted);
  border-radius: var(--radius-full);
}

.form-success h3 {
  font-size: 24px;
  color: var(--text-dark);
}

.form-success p {
  color: var(--text-muted);
  max-width: 360px;
}

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer .logo-line1 {
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color var(--transition);
}

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

.footer address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
}

.footer-phone a,
.footer-email a {
  color: var(--terracotta-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  font-size: 12px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .new-patients-inner {
    gap: 48px;
  }

  .about-img-secondary {
    right: -20px;
    bottom: -20px;
    width: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 99;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .nav-menu .btn {
    margin-top: 16px;
    justify-content: center;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.4);
    backdrop-filter: blur(4px);
    z-index: 98;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 100px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-float--1 {
    left: 0;
  }

  .hero-float--2 {
    right: 0;
  }

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

  .about-grid,
  .new-patients-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-img-secondary {
    right: -10px;
    bottom: -10px;
    width: 150px;
  }

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

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .service-card {
    padding: 28px 24px;
  }

  .hero-float-card {
    display: none;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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