:root {
  --primary: #33303f;
  --secondary: #3c81cf;
  --background: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --accent: #1f5357;
  --white: #ffffff;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --font-sans: "Outfit", sans-serif;
  --font-serif: "Lora", serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
  --max-width: 75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4, h5, h6 { font-size: var(--text-base); }

p {
  margin: 0 0 var(--space-md);
  color: var(--text-primary);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.page-header {
  width: 100%;
  padding: var(--space-md) 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-lg);
}

.logo:hover {
  color: var(--accent);
}

.logo img {
  width: 2.5rem;
  height: auto;
}

.nav-full {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.nav-full a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.nav-full a:hover {
  color: var(--secondary);
  background: var(--background);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
  color: var(--primary);
  font-size: var(--text-xl);
}

.hero {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%);
}

.hero h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.hero p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
}

.feature-section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.feature-section-a {
  min-height: 20rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature-section-a-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-section-a-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(51, 48, 63, 0.85) 0%, rgba(51, 48, 63, 0.4) 60%, transparent 100%);
}

.feature-section-a .container {
  position: relative;
  z-index: 1;
}

.feature-section-a-content {
  max-width: 28rem;
}

.feature-section-a-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.feature-section-a-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.feature-section-a-content .btn-primary:hover {
  background: var(--white);
  color: var(--primary);
}

.feature-section-b {
  background: linear-gradient(135deg, #e8eef5 0%, #f0f4f8 100%);
}

.feature-section-b-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
}

.feature-section-b-image {
  width: 100%;
  max-width: 32rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-section-b-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-section-b-text {
  text-align: center;
}

.feature-section-b-text h2 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.feature-section-b-text p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.feature-section-c {
  padding: var(--space-3xl) 0;
}

.feature-section-c-wrap {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-section-c-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-section-c-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(51, 48, 63, 0.5) 0%, rgba(51, 48, 63, 0.75) 100%);
}

.feature-section-c .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.feature-section-c-card {
  max-width: 22rem;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.feature-section-c-card h2 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

.feature-section-c-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.broken-grid {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.broken-grid .card:nth-child(1) { grid-column: 1; }
.broken-grid .card:nth-child(2) { grid-column: 1; }
.broken-grid .card:nth-child(3) { grid-column: 1; }
.broken-grid .card:nth-child(4) { grid-column: 1; }
.broken-grid .card:nth-child(5) { grid-column: 1; }
.broken-grid .card:nth-child(6) { grid-column: 1; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--primary);
  font-size: var(--text-lg);
}

.card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  color: var(--primary);
}

.section-title p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.page-footer {
  padding: var(--space-lg) 0;
  background: var(--primary);
  color: var(--white);
  margin-top: var(--space-2xl);
}
.page-footer p{
  color: #e8eef5;
}
.page-footer a {
  color: var(--white);
  opacity: 0.9;
}

.page-footer a:hover {
  opacity: 1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-nav a {
  font-size: var(--text-xs);
}

.footer-copy {
  text-align: center;
  font-size: var(--text-xs);
  opacity: 0.8;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  border: 1px solid var(--text-secondary);
  border-radius: var(--radius-md);
  background: var(--white);
}

.form-group textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.form-checkbox label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}



.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page h1 {
  font-size: var(--text-3xl);
  color: var(--primary);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 24rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.popup-box h3 {
  margin-top: 0;
  color: var(--primary);
}

.popup-box p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.popup-box .btn {
  margin-top: var(--space-md);
}

.map-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 16rem;
  border: none;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.contact-info .icon {
  color: var(--secondary);
  font-size: var(--text-lg);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--space-md) 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}

.faq-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.legal-content {
  padding: var(--space-xl) 0;
}

.legal-content h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.legal-content ul {
  margin: 0 0 var(--space-md);
  padding-left: var(--space-lg);
}

@media (min-width: 480px) {
  .broken-grid {
    grid-template-columns: 1fr 1fr;
  }
  .broken-grid .card:nth-child(1) { grid-column: 1; }
  .broken-grid .card:nth-child(2) { grid-column: 2; }
  .broken-grid .card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .broken-grid .card:nth-child(4) { grid-column: 2; grid-row: 2; }
  .broken-grid .card:nth-child(5) { grid-column: 1; grid-row: 3; }
  .broken-grid .card:nth-child(6) { grid-column: 2; grid-row: 3; }
}

@media (min-width: 640px) {
  .page-header .container {
    flex-wrap: nowrap;
  }
  .nav-full {
    width: auto;
    justify-content: flex-end;
  }
  .hero h1 {
    font-size: var(--text-3xl);
  }
  .hero p {
    font-size: var(--text-base);
  }
  .broken-grid {
    grid-template-columns: 1fr 1fr ;
  }
  .broken-grid .card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .broken-grid .card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .broken-grid .card:nth-child(3) { grid-column: 3; grid-row: 1; }
  .broken-grid .card:nth-child(4) { grid-column: 1; grid-row: 2; }
  .broken-grid .card:nth-child(5) { grid-column: 2; grid-row: 2; }
  .broken-grid .card:nth-child(6) { grid-column: 3; grid-row: 2; }
}

@media (min-width: 768px) {
  .feature-section-b-inner {
    flex-direction: row;
    gap: var(--space-2xl);
    max-width: 56rem;
    margin: 0 auto;
  }
  .feature-section-b-image {
    flex: 0 0 45%;
    max-width: none;
  }
  .feature-section-b-text {
    flex: 1;
    text-align: left;
  }
  .map-wrap iframe {
    height: 20rem;
  }
}

@media (max-width: 768px) {
  .burger-btn {
    display: block;
  }
  .nav-full {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 3;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-full.open {
    display: flex;
  }
  .page-header .container {
    flex-wrap: wrap;
  }
}

@media (max-width: 330px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 var(--space-sm);
  }
}
@media (max-width: 644px){
  .gd{
    display: flex !important;
    flex-direction: column;
  }
}