/* ============================================================
   Adult Neurology Center, PC - Complete Stylesheet
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary-color);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

/* ============================================================
   2. CSS Variables
   ============================================================ */
:root {
  --primary-color: #0a192f;
  --secondary-color: #2a9d8f;
  --accent-color: #e9c46a;
  --white: #ffffff;
  --light-gray: #f0f0f0;
  --dark-gray: #333333;
  --text-color: #444444;
  --header-height: 80px;
  --max-width: 1200px;
  --shadow-sm: 0 2px 6px rgba(10, 25, 47, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 25, 47, 0.12);
  --shadow-lg: 0 8px 32px rgba(10, 25, 47, 0.16);
  --transition: 0.3s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ============================================================
   3. Header & Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary-color);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition);
}

.site-header.scrolled {
  background-color: rgba(10, 25, 47, 0.95);
}

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

.logo {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent-color);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a.active {
  color: var(--accent-color);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   4. Hero Section
   ============================================================ */
.hero {
  margin-top: var(--header-height);
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #142a47 100%);
  color: var(--white);
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--light-gray);
}

.hero .hero-tagline {
  color: var(--accent-color);
  font-style: italic;
  font-family: Georgia, serif;
  margin-bottom: 1.5rem;
}

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

.hero-image {
  max-width: 500px;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   5. About Section
   ============================================================ */
.about {
  padding: 4rem 1.5rem;
  background-color: var(--white);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.about-content .accent-line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* ============================================================
   6. Services Grid
   ============================================================ */
.services {
  padding: 4rem 1.5rem;
  background-color: var(--light-gray);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-color);
}

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--secondary-color);
}

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

.service-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

.service-card p {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* ============================================================
   7. Business Model Section
   ============================================================ */
.business-model {
  padding: 4rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
}

.business-model h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 2.5rem;
}

.model-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.model-item {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition);
}

.model-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.model-number {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.model-item h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.model-item p {
  color: var(--light-gray);
  font-size: 0.95rem;
}

/* ============================================================
   8. Contact Section
   ============================================================ */
.contact {
  padding: 4rem 1.5rem;
  background-color: var(--light-gray);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.contact-info p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

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

.contact-detail-icon {
  font-size: 1.4rem;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* ============================================================
   9. Contact Form
   ============================================================ */
.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.form-group label .required {
  color: #c0392b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-color);
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

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

/* ============================================================
   10. Form Validation
   ============================================================ */
.form-group input.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.form-group input.valid,
.form-group textarea.valid {
  border-color: var(--secondary-color);
}

.error-message {
  display: block;
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  min-height: 1rem;
}

.form-success {
  display: none;
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border-left: 4px solid var(--secondary-color);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  background-color: rgba(192, 57, 43, 0.1);
  color: #c0392b;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border-left: 4px solid #c0392b;
  font-weight: 600;
}

.form-error.show {
  display: block;
}

/* ============================================================
   11. Form Fields
   ============================================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

/* ============================================================
   12. Consent Checkbox
   ============================================================ */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.consent-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--secondary-color);
}

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

.consent-group label a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ============================================================
   13. Honeypot Field (hidden)
   ============================================================ */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.honeypot input {
  width: 1px;
  height: 1px;
}

/* ============================================================
   14. Footer
   ============================================================ */
.site-footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  color: var(--light-gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  display: inline-block;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 1.4rem;
  color: var(--accent-color);
}

/* ============================================================
   15. Footer Copyright
   ============================================================ */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copy {
  color: var(--light-gray);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-copy span {
  color: var(--accent-color);
}

/* ============================================================
   16. Footer Disclaimer
   ============================================================ */
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.footer-disclaimer strong {
  color: var(--light-gray);
}

/* ============================================================
   17. Cookie Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 16px rgba(10, 25, 47, 0.3);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--light-gray);
}

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

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ============================================================
   18. Cookie Banner Preferences Modal
   ============================================================ */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
}

.cookie-modal-overlay.show {
  display: flex;
}

.cookie-modal {
  background-color: var(--white);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.cookie-modal h3 {
  margin-bottom: 1rem;
}

.cookie-modal p {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--secondary-color);
}

.cookie-option label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.cookie-option input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* ============================================================
   19. Page Header
   ============================================================ */
.page-header {
  margin-top: var(--header-height);
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #142a47 100%);
  color: var(--white);
  text-align: center;
}

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

.page-header p {
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
}

.page-header .breadcrumb {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.page-header .breadcrumb a {
  color: var(--accent-color);
}

.page-header .breadcrumb span {
  margin: 0 0.5rem;
  color: var(--light-gray);
}

/* ============================================================
   20. Content Section
   ============================================================ */
.content-section {
  padding: 4rem 1.5rem;
}

.content-section.alt {
  background-color: var(--light-gray);
}

.content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.content-inner h2 {
  margin-bottom: 1rem;
}

.content-inner h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-inner p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.content-inner blockquote {
  border-left: 4px solid var(--secondary-color);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--primary-color);
  font-family: Georgia, serif;
}

.content-inner figure {
  margin: 1.5rem 0;
}

.content-inner img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.content-inner figcaption {
  font-size: 0.85rem;
  color: var(--text-color);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ============================================================
   21. Content Lists
   ============================================================ */
.content-list {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
}

.content-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  line-height: 1.6;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.content-list.ordered {
  counter-reset: list-counter;
}

.content-list.ordered li {
  counter-increment: list-counter;
}

.content-list.ordered li::before {
  content: counter(list-counter);
  background-color: var(--secondary-color);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0.1rem;
}

.content-list.checklist li::before {
  content: "\2713";
  background: transparent;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1rem;
  width: auto;
  height: auto;
  top: 0;
}

/* ============================================================
   22. Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
}

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

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

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: #238479;
  color: var(--white);
}

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

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

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

.btn-accent:hover,
.btn-accent:focus {
  background-color: #d4a84a;
}

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

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ============================================================
   23. Animations
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.slide-left {
  opacity: 0;
  animation: slideInLeft 0.7s ease forwards;
}

.slide-right {
  opacity: 0;
  animation: slideInRight 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

/* Scroll-triggered animations using IntersectionObserver classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   24. Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 0.625rem; }
.mt-20 { margin-top: 1.25rem; }
.mt-40 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 0.625rem; }
.mb-20 { margin-bottom: 1.25rem; }
.mb-40 { margin-bottom: 2.5rem; }

.pt-0 { padding-top: 0; }
.pt-20 { padding-top: 1.25rem; }
.pb-0 { padding-bottom: 0; }
.pb-20 { padding-bottom: 1.25rem; }

.hidden { display: none; }
.visible { display: block; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }
.full-width { width: 100%; }

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

.section {
  padding: 4rem 1.5rem;
}

.section-sm {
  padding: 2rem 1.5rem;
}

.section-lg {
  padding: 6rem 1.5rem;
}

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-gray); }

.text-white { color: var(--white); }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-color); }

.accent-bar {
  display: inline-block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-bottom: 1rem;
}

.accent-bar.center {
  margin: 0 auto 1rem;
}

/* ============================================================
   25. Responsive Breakpoints
   ============================================================ */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  html { font-size: 15px; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

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

/* Mobile Landscape (768px) */
@media (max-width: 768px) {
  html { font-size: 14px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  /* Show hamburger menu */
  .hamburger {
    display: flex;
  }

  /* Mobile nav drawer */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary-color);
    padding: 5rem 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.35s ease;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
    z-index: 1050;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Nav overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-image {
    max-width: 350px;
  }

  .about,
  .services,
  .contact,
  .content-section {
    padding: 3rem 1rem;
  }

  .business-model {
    padding: 3rem 1rem;
  }

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

  .contact-map iframe {
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .btn-large {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }

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

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

  .page-header {
    padding: 2rem 1rem;
  }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
  html { font-size: 13px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }

  .header-inner {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-image {
    max-width: 280px;
  }

  .about,
  .services,
  .contact,
  .content-section {
    padding: 2.5rem 1rem;
  }

  .business-model {
    padding: 2.5rem 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

  .contact-detail {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-map iframe {
    height: 180px;
  }

  .site-footer {
    padding: 2rem 1rem 1rem;
  }

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
  }

  .btn-small {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .cookie-modal {
    padding: 1.5rem;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-actions .btn {
    width: 100%;
  }

  .page-header {
    padding: 1.5rem 1rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  .page-header .breadcrumb {
    font-size: 0.78rem;
  }

  .footer-disclaimer {
    font-size: 0.72rem;
  }
}
