/* ===================================================
   RIOJASTUR JARDINERÍA — Professional Stylesheet
   Colors extracted from brand logo:
   - Dark Green: #0e4d0e
   - Gold/Brown: #8d7d3f
   - Blue: #2171c1
   - Light Green: #7eb338
   =================================================== */

:root {
  --primary: #0e4d0e;
  --secondary: #8d7d3f;
  --accent-blue: #2171c1;
  --accent-green: #7eb338;
  --bg: #fdfdfb;
  --text: #1a1a1a;
  --text-light: #555;
  --border: rgba(14, 77, 14, 0.12);
  --white: #ffffff;

  --f-display: "Fraunces", serif;
  --f-body: "Inter", sans-serif;

  --transition: all 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--f-body);
  color: var(--text);
  line-height: 1.7;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.section-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--secondary);
}

.section-heading.centered {
  text-align: center;
}

.section-heading.on-dark {
  color: var(--white);
}

.section-heading.on-dark em {
  color: var(--accent-green);
}

.text-gold {
  color: var(--secondary);
}

/* ---- Header ---- */
.main-header {
  padding: 0.8rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 253, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.main-logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 6px;
}

.header-logo {
  height: 80px;
  width: 80px;
}

.logo-text-elevated {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
}

.cta-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-size: 0.82rem !important;
}

.cta-nav:hover {
  background: #0a3a0a;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---- Hero Section ---- */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 140px 5% 80px;
  align-items: center;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-logo {
  width: 260px;
  height: 260px;
  object-fit: contain;
  margin-bottom: 2rem;
  border-radius: 16px;
  filter: drop-shadow(0 8px 24px rgba(14, 77, 14, 0.12));
}

/* ---- Section Wave Dividers ---- */
.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* ---- Hero Logo Glow ---- */
@keyframes logo-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(126, 179, 56, 0.15), 0 0 60px rgba(14, 77, 14, 0.05);
  }
  50% {
    box-shadow: 0 0 30px rgba(126, 179, 56, 0.35), 0 0 80px rgba(14, 77, 14, 0.12);
  }
}

.hero-logo {
  animation: logo-glow 4s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
  font-family: var(--f-body);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: #0a3a0a;
  border-color: #0a3a0a;
}

.btn-secondary {
  border: 2px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
  font-family: var(--f-body);
}

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

.hero-image-wrapper {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.floating-stat {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--primary);
  padding: 1.2rem 5%;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---- Services ---- */
.section-services {
  padding: 100px 5%;
  background: var(--white);
  max-width: 1400px;
  margin: 0 auto;
}

.section-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

.section-logo.centered-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.services-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.services-intro {
  max-width: 600px;
}

.services-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.services-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.service-item {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 280px;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 77, 14, 0.06);
}

.svc-svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  margin-bottom: 1.2rem;
  display: block;
}

.service-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--text);
}

.service-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Plans ---- */
.section-plans {
  padding: 100px 5%;
  background: var(--bg);
}

.plans-header {
  text-align: center;
  margin-bottom: 3rem;
}

.plans-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 77, 14, 0.08);
}

.plan-badge {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.plan-desc {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-desc p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(14, 77, 14, 0.06);
  padding-left: 1.5rem;
  position: relative;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
}

.plan-price-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(141, 125, 63, 0.06);
  border-radius: 6px;
}

.plan-note-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--secondary);
}

.plan-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 0.8rem;
}

/* ---- About / Local Pride ---- */
.section-about {
  padding: 100px 5%;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-stat {
  display: flex;
  flex-direction: column;
}

.about-stat .stat-num {
  font-size: 2.2rem;
}

/* ---- Projects Grid ---- */
.section-projects {
  padding: 100px 5%;
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(14, 77, 14, 0.85));
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* ---- Seasonal Tips ---- */
.section-tips {
  padding: 100px 5%;
  background: var(--bg);
}

.tips-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tips-mascot {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 50%;
  border: 3px solid var(--accent-green);
  background: var(--white);
  padding: 4px;
}

.tips-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tip-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 77, 14, 0.06);
}

.tip-spring { border-top-color: var(--accent-green); }
.tip-summer { border-top-color: var(--secondary); }
.tip-autumn { border-top-color: #c17921; }
.tip-winter { border-top-color: var(--accent-blue); }

.tip-season-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.tip-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.tip-spring .tip-svg { color: var(--accent-green); }
.tip-summer .tip-svg { color: var(--secondary); }
.tip-autumn .tip-svg { color: #c17921; }
.tip-winter .tip-svg { color: var(--accent-blue); }

.tip-season-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

.tip-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.tip-card ul {
  list-style: none;
}

.tip-card li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.tip-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.tip-spring li::before { background: var(--accent-green); }
.tip-summer li::before { background: var(--secondary); }
.tip-autumn li::before { background: #c17921; }
.tip-winter li::before { background: var(--accent-blue); }

/* ---- Philosophy ---- */
.section-philosophy {
  padding: 100px 5%;
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.philo-content {
  background: var(--primary);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  border-radius: 8px 0 0 8px;
}

.philo-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.philo-values {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.philo-value {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  border-left: 3px solid var(--accent-green);
}

.philo-value strong {
  font-size: 0.9rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.philo-value span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.philo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 8px 8px 0;
  display: block;
}

/* ---- FAQ ---- */
.section-faq {
  padding: 100px 5%;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 1.3rem 0;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item p {
  padding: 0 0 1.3rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---- Contact ---- */
.section-contact {
  padding: 100px 5%;
  background: var(--bg);
}

.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 5rem;
}

.contact-lead {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-logo-block {
  margin-bottom: 2rem;
}

.contact-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.captcha-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--f-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 77, 14, 0.08);
}

.contact-info {
  padding-top: 1rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  display: block;
  margin-bottom: 0.3rem;
}

.info-item p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Footer ---- */
.main-footer {
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--primary);
  color: var(--white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.6rem;
}

.footer-brand .brand-sub {
  color: var(--accent-green);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.main-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.75rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-credit span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.epitrix-logo {
  height: 22px;
  width: auto;
  opacity: 0.6;
  transition: var(--transition);
}

.epitrix-logo:hover {
  opacity: 1;
}

/* ---- Legal Pages ---- */
.legal-page {
  padding: 8rem 5% 4rem;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.legal-container h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-container h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-container p,
.legal-container li {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-container a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.legal-info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0 1.5rem;
}

.legal-info-box p {
  margin-bottom: 0.35rem;
}

.legal-date {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.4);
  font-style: italic;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--bg-alt);
  color: var(--primary);
  font-weight: 600;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-content p {
  flex: 1;
  min-width: 250px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--accent-green);
  color: var(--white);
}

.cookie-accept:hover {
  background: #6a9a2e;
}

.cookie-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 120px;
    gap: 2rem;
  }

  .hero-logo {
    width: 160px;
    height: 160px;
  }

  .hero-image-wrapper {
    height: 50vh;
    order: -1;
  }

  .about-container,
  .philosophy-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    gap: 2rem;
  }

  .services-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-image img {
    height: 250px;
  }

  .service-item {
    flex: 0 1 calc(50% - 1rem);
  }

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

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .philo-content {
    padding: 2.5rem;
    border-radius: 8px 8px 0 0;
  }

  .philo-image img {
    border-radius: 0 0 8px 8px;
    height: 300px;
  }

  .floating-stat {
    left: 15px;
    bottom: 15px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(253, 253, 251, 0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .main-nav a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .trust-inner {
    justify-content: center;
    text-align: center;
  }

  .trust-item {
    flex-basis: 45%;
    justify-content: center;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 110px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .service-item {
    flex: 0 1 100%;
  }

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

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

  .trust-item {
    flex-basis: 100%;
  }

  .footer-links {
    gap: 1rem;
  }

  .header-logo {
    height: 60px;
    width: 60px;
  }

  .brand-name {
    font-size: 1.1rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════════════════════════ */
.section-blog {
  padding: 5rem 5% 4rem;
  background: var(--bg);
}

.blog-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.blog-lead {
  max-width: 560px;
  margin: 0.5rem auto 0;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(14, 77, 14, 0.05);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 77, 14, 0.10);
  border-color: var(--primary);
  text-decoration: none;
}

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

.blog-card-body {
  padding: 1.3rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-cat {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

.blog-card-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.8rem;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  padding-top: 0.7rem;
  margin-top: auto;
}

.blog-card-read {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}
.blog-card:hover .blog-card-read { color: var(--accent-green); }

.blog-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Blog Index Page (standalone) */
.blog-index-hero {
  text-align: center;
  padding: 2rem 5% 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.blog-index-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.blog-index-hero h1 em {
  font-style: italic;
  color: var(--secondary);
}
.blog-index-hero p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
.blog-index-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 5rem;
}
.active-nav {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .section-blog { padding: 3rem 5% 2.5rem; }
  .blog-index-hero { padding: 1rem 5% 1.5rem; }
}
