:root {
  --color-forest: #1B5E3E;
  --color-leaf: #6ABD8E;
  --color-earth: #A67C52;
  --color-light: #E8F5E9;
  --color-accent: #FF6B35;
  --color-secondary: #4A90E2;
  --color-white: #ffffff;
  --color-dark: #2C3E2D;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-forest);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

a {
  color: var(--color-forest);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  position: relative;
  z-index: 1000;
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--color-accent);
  overflow: hidden;
  width: 100%;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 107, 53, 0.05) 10px,
    rgba(255, 107, 53, 0.05) 20px
  );
  pointer-events: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  padding: 0.3rem var(--space-sm);
  background: linear-gradient(135deg, var(--color-leaf) 0%, var(--color-forest) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 1;
  min-width: 0;
}

.logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(106, 189, 142, 0.1) 0%, rgba(27, 94, 62, 0.1) 100%);
  border-radius: var(--radius-md);
  z-index: -1;
  transform: skewX(-12deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
  flex-shrink: 0;
}

.nav-menu a {
  font-weight: 600;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  padding: 0.4rem var(--space-sm);
  position: relative;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  z-index: -1;
}

.nav-menu a:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.nav-menu a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--color-forest);
  cursor: pointer;
  z-index: 1002;
  padding: 0.3rem;
  flex-shrink: 0;
}

.menu-close {
  display: none;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 94, 62, 0.75) 0%, rgba(106, 189, 142, 0.65) 50%, rgba(255, 107, 53, 0.5) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--color-light) 0%, transparent 100%);
  z-index: 2;
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-lg);
  color: var(--color-light);
  max-width: none;
}

.hero-figure {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 120px;
  height: 120px;
  z-index: 4;
  animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes pulse {
  0%, 100% {
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.5));
  }
  50% {
    filter: drop-shadow(0 8px 16px rgba(255, 107, 53, 0.8));
  }
}

.hero-figure i {
  font-size: 120px;
  color: var(--color-white);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  display: block;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  margin-left: var(--space-md);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  color: var(--color-forest);
  border-color: var(--color-accent);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

section {
  padding: var(--space-xxl) 0;
  position: relative;
}


.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-leaf) 0%, var(--color-forest) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.section-title h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) skewX(-15deg);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) skewX(15deg);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-sm);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-forest);
}

.card p {
  color: var(--color-dark);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.features {
  background: repeating-linear-gradient(
    45deg,
    var(--color-light),
    var(--color-light) 20px,
    rgba(106, 189, 142, 0.1) 20px,
    rgba(106, 189, 142, 0.1) 40px
  );
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.feature-item {
  text-align: center;
  padding: var(--space-md);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.feature-item h3 {
  margin-bottom: var(--space-sm);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
}

.about-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.service-card {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 50%, var(--color-leaf) 100%);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(106, 189, 142, 0.1) 100%);
}

.service-card h3 {
  color: var(--color-forest);
  margin-bottom: var(--space-md);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: var(--space-md) 0;
  font-family: var(--font-heading);
}

.price span {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 400;
}

.contact-section {
  background: linear-gradient(135deg, var(--color-light) 0%, rgba(106, 189, 142, 0.2) 100%);
  position: relative;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact-form {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-leaf);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(106, 189, 142, 0.05) 10px,
    rgba(106, 189, 142, 0.05) 20px
  );
  pointer-events: none;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-forest);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-card {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.info-card p,
.info-card a {
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

footer {
  background: linear-gradient(135deg, var(--color-forest) 0%, #153E2B 100%);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xxl);
  position: relative;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(255, 107, 53, 0.03) 30px,
    rgba(255, 107, 53, 0.03) 60px
  );
  pointer-events: none;
}

footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 50%, var(--color-leaf) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.footer-section {
  position: relative;
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: clamp(1rem, 2vw, 1.25rem);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
}

.footer-section p {
  color: var(--color-light);
  margin-bottom: var(--space-xs);
  display: block;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.8;
  transition: var(--transition);
}

.footer-section a {
  color: var(--color-light);
  margin-bottom: var(--space-xs);
  display: inline-block;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.8;
  transition: var(--transition);
  position: relative;
}

.footer-section a::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-section a:hover::before {
  width: 100%;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
  margin-top: var(--space-md);
}

.footer-menu a {
  color: var(--color-light);
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-menu a:hover {
  background-color: rgba(255, 107, 53, 0.2);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-light);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  position: relative;
  z-index: 1;
  margin-top: var(--space-md);
}

.legal-page {
  padding: var(--space-xl) 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.legal-page ul,
.legal-page ol {
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page li {
  margin-bottom: var(--space-xs);
}

.home-button {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-forest);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.home-button:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-md) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

table th,
table td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-light);
}

table th {
  background-color: var(--color-forest);
  color: var(--color-white);
  font-weight: 600;
}

table tr:hover {
  background-color: var(--color-light);
}

.thank-you-page,
.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-page p,
.error-page p {
  max-width: none;
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.thank-you-page h1,
.error-page h1 {
  margin-bottom: var(--space-lg);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-md);
  box-shadow: var(--shadow-lg);
}

.popup-content h2 {
  margin-bottom: var(--space-md);
}

.popup-close {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-forest);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  color: var(--color-accent);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 300px);
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: var(--space-xxl) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    gap: var(--space-md);
  }

  nav {
    display: block;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  body.menu-open .menu-toggle {
    display: none;
  }

  .nav-menu.active .menu-close {
    display: block;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: var(--space-sm) 0;
    width: 100%;
  }

  .menu-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--color-forest);
    cursor: pointer;
    z-index: 1002;
    padding: 0.3rem;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-figure {
    width: 80px;
    height: 80px;
    bottom: 5%;
    right: 5%;
  }

  .hero-figure i {
    font-size: 80px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-menu {
    justify-content: center;
    gap: var(--space-sm);
  }

  footer {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-secondary {
    margin-left: 0;
  }

  .header-content {
    gap: var(--space-sm);
    flex-wrap: nowrap;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

  header {
    padding: 0.3rem 0;
  }

  .logo {
    font-size: 0.8rem;
    padding: 0.25rem var(--space-xs);
  }

  .menu-toggle {
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .header-content {
    gap: var(--space-xs);
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.2rem var(--space-xs);
  }

  .nav-menu {
    width: 100%;
    padding: var(--space-xl) var(--space-md);
  }

  section {
    padding: var(--space-xl) 0;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero-content {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero-content h1 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: var(--space-sm);
  }

  .section-title h2 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    padding: var(--space-xs) var(--space-md);
  }

  .card {
    padding: var(--space-md);
  }

  .contact-form {
    padding: var(--space-md);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    gap: var(--space-md);
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
  }

  .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }

  .footer-menu a {
    font-size: 0.85rem;
  }

  footer {
    padding: var(--space-md) 0 var(--space-sm);
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 320px) {
  header {
    padding: 0.25rem 0;
  }

  .logo {
    font-size: 0.75rem;
  }

  .hero-content h1 {
    font-size: clamp(1.1rem, 6vw, 1.5rem);
  }

  .section-title h2 {
    font-size: clamp(1rem, 5vw, 1.3rem);
    padding: var(--space-xs) var(--space-sm);
  }

  .hero-figure {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-section h3 {
    font-size: 0.95rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.8rem;
  }

  .footer-menu a {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  footer {
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
  }
}

