/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-small {
  font-size: 0.875rem;
}

.text-large {
  font-size: 1.125rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: -2rem auto 3rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== HEADER ===== */
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--header-height);
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 42, 56, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header-area.scrolled {
  background: rgba(244, 241, 234, 0.96);
  box-shadow: 0 2px 20px rgba(30, 42, 56, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-navigation ul li a:hover::after,
.main-navigation ul li a.active::after {
  width: 100%;
}

.main-navigation ul li a:hover {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.btn-phone:hover {
  background: var(--accent);
  color: #fff;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
  border: none;
}

.hamburger-menu span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
  .main-navigation {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(244, 241, 234, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.5rem 2rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-bottom: 1px solid var(--border-color);
  }

  .main-navigation.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .main-navigation ul li a {
    font-size: 1.05rem;
  }

  .header-cta .btn-phone {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }
}

/* ===== FOOTER ===== */
.footer-area {
  background: var(--primary);
  color: #e2e8f0;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-links ul li a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact p svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom .legal-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-bottom .legal-links a {
  color: #94a3b8;
  font-size: 0.8rem;
}

.footer-bottom .legal-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ===== COOKIE BANNER ===== */
.cookie-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

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

.cookie-alert p {
  color: #e2e8f0;
  margin: 0;
  font-size: 0.85rem;
}

.cookie-alert .cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-alert .cookie-actions a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
}

.cookie-alert .cookie-actions button {
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.3s ease;
}

.cookie-alert .cookie-actions button:hover {
  background: var(--accent-hover);
}

@media (max-width: 600px) {
  .cookie-alert {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 122, 44, 0.25);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.card-image img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 122, 44, 0.12);
}

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

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9997;
  width: 56px;
  height: 56px;
  background: #2C6E49;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(44, 110, 73, 0.35);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(44, 110, 73, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}