/* ============================================
   CNY Drone Services - Main Stylesheet
   Colors: #17405D (dark blue), #71A5BD (light blue), #fff, #f5f5f5
   ============================================ */

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

:root {
  --primary: #17405D;
  --primary-light: #1e5278;
  --secondary: #71A5BD;
  --accent: #4CAF50;
  --white: #ffffff;
  --light-bg: #f5f7fa;
  --gray: #6b7280;
  --dark-gray: #374151;
  --text: #333333;
  --font: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary); }
ul { list-style: none; }

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

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: var(--white);
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  padding: 8px 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  color: var(--text);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary);
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-image-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(23, 64, 93, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Page Hero (internal pages) */
.page-hero {
  position: relative;
  padding: 120px 20px 60px;
  text-align: center;
  color: var(--white);
  background: var(--primary);
  margin-top: var(--header-height);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 64, 93, 0.3);
}

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

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

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

.btn-white:hover {
  background: var(--light-bg);
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Sections --- */
.section,
.section-light,
.section-dark,
.section-content,
.section-content.section-light {
  padding: 80px 0;
}

.section-light {
  background: var(--light-bg);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

/* When two-col is on the section itself */
section.two-col,
section.section-light.two-col,
section.section-dark.two-col {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h6 {
  color: var(--secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

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

.section-dark .section-title h6 {
  color: var(--secondary);
}

/* --- Booking / Regions --- */
.booking-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.booking-regions li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.booking-regions svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.capacity-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 2px solid var(--secondary);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 16px;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card a:hover {
  color: var(--primary);
}

/* --- Two Column Layout --- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Only apply grid when .two-col is NOT on a section (i.e. it IS the grid container) */
div.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* When .two-col is on a section, it's just a wrapper — don't apply grid to it */
section.two-col {
  display: block;
}

.two-col-text h6,
.col-content h6,
.col-text h6,
.text-col h6 {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.two-col-text h2,
.col-content h2,
.col-text h2,
.text-col h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.two-col-text h3,
.col-content h3,
.col-text h3,
.text-col h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.two-col-text p,
.col-content p,
.col-text p,
.text-col p {
  margin-bottom: 16px;
  color: var(--gray);
  line-height: 1.7;
}

.section-dark .two-col-text h2,
.section-dark .col-content h2,
.section-dark .col-text h2,
.section-dark .text-col h2 { color: var(--white); }

.section-dark .two-col-text p,
.section-dark .col-content p,
.section-dark .col-text p,
.section-dark .text-col p { color: rgba(255,255,255,0.85); }

.two-col-image img,
.col-image img,
.image-col img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* --- Stats --- */
.stats-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- News/Blog Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 24px;
}

.news-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.news-card .read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(23, 64, 93, 0);
  transition: background 0.3s;
}

.gallery-item:hover::after {
  background: rgba(23, 64, 93, 0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 16px 20px;
  border-radius: 8px;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* --- Contact / Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-info ul {
  margin-bottom: 24px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--dark-gray);
}

.contact-info li svg {
  width: 20px;
  height: 20px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info a {
  color: var(--dark-gray);
}

.contact-info a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.contact-form h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(113, 165, 189, 0.15);
}

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

/* --- Blog/Article Page --- */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-content h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--dark-gray);
}

.article-content img {
  border-radius: 8px;
  margin: 24px 0;
}

.article-content .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 24px 0;
}

.article-content .video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* --- Service Detail Page --- */
.service-detail-section {
  padding: 60px 0;
}

.service-detail-section:nth-child(even) {
  background: var(--light-bg);
}

.service-detail-section .two-col-text h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-detail-section .two-col-text p {
  line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--secondary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* --- Thank You Page --- */
.thank-you-content {
  text-align: center;
  padding: 100px 20px;
  margin-top: var(--header-height);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.thank-you-content h3 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.thank-you-content p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 30px;
}

/* --- Additional Class Aliases (agent-generated HTML) --- */

/* Service card padding when no card-body wrapper */
.service-card p {
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.service-card h3 {
  padding: 20px 20px 0;
}

.service-card .service-image {
  overflow: hidden;
}

/* Hero buttons row */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 16px;
  opacity: 0.95;
}

/* Checkmark SVG in booking regions */
.booking-regions svg.checkmark {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

/* Section header (alternate naming) */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h6,
.news-header h6 {
  color: var(--secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-header h2,
.news-header h2 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

/* News card alternate structures */
.news-card .news-content,
.news-card .news-card-body {
  padding: 24px;
}

.news-image {
  overflow: hidden;
}

/* Contact section alternate naming */
.contact-section {
  padding: 80px 0;
}

.contact-list {
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--dark-gray);
}

.contact-list li svg {
  width: 20px;
  height: 20px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form-wrapper {
  /* wrapper used by agent */
}

/* Gallery section alternate naming */
.gallery-section {
  padding: 80px 0;
}

.gallery-section h3 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 30px;
}

/* Service detail page - text columns in service sections */
.service-detail-section .col-content h3,
.service-detail-section .col-text h3,
.service-detail-section .text-col h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-detail-section .col-content p,
.service-detail-section .col-text p,
.service-detail-section .text-col p {
  line-height: 1.8;
}

/* Service info block */
.service-info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-info p {
  margin-bottom: 16px;
  color: var(--gray);
  line-height: 1.7;
}

/* Article image */
.article-image {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
}

/* Video embed outside article-content */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 24px 0;
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Button link style */
.btn-link {
  background: transparent;
  color: var(--secondary);
  padding: 14px 32px;
  font-weight: 600;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--primary);
}

/* Panel link section */
.panel-link-section {
  text-align: center;
  padding: 40px 20px;
}

/* CTA button alias */
.cta-button {
  margin-top: 24px;
}

/* Thank you section */
.thank-you-section {
  margin-top: var(--header-height);
}

/* News section */
.news-section {
  padding: 80px 0;
}

/* Scroll-to-top alias */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}

.scroll-to-top.visible {
  display: flex;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col-grid { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .header-phone { display: none; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    padding-left: 20px;
  }

  .dropdown-menu a {
    color: rgba(255,255,255,0.8);
  }

  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .two-col, .two-col-grid { grid-template-columns: 1fr; }
  .two-col-image, .col-image, .image-col { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .hero { min-height: 70vh; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
