/* ============================================
   GRUTENCO MODERN CLEAN CSS
   - Sin papercut
   - Sin Three.js
   - Hero con imagen de fondo estática
   - Fuente Helvetica
   - Mantiene animaciones, hover effects y cards
   ============================================ */

:root {
  --g-green: #1f6f54;
  --g-green-light: #2a8f6e;
  --g-green-dark: #0f3a2e;
  --g-green-bg: #e8f5f0;

  --g-gold: #c98f22;
  --g-gold-light: #e0a83a;
  --g-gold-dark: #a07218;

  --g-cream: #fff8f0;
  --g-white: #ffffff;
  --g-ink: #17201d;
  --g-gray: #6b7280;
  --g-gray-light: #f3f4f6;
  --g-gray-border: #e5e7eb;

  --font-main: 'Helvetica', sans-serif;

  --header-height: 70px;
  --hero-height: 580px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(23, 32, 29, 0.08);
  --shadow-md: 0 4px 20px rgba(23, 32, 29, 0.10);
  --shadow-lg: 0 10px 40px rgba(23, 32, 29, 0.12);
  --shadow-xl: 0 20px 60px rgba(23, 32, 29, 0.15);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET / BASE
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--g-ink);
  background: var(--g-white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-main);
}

.container {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.custom-cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 2px solid var(--g-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--g-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}

.custom-cursor.hover-link {
  width: 50px;
  height: 50px;
  border-color: var(--g-green);
  background: rgba(31, 111, 84, 0.1);
}

.custom-cursor.hover-btn {
  width: 60px;
  height: 60px;
  border-color: var(--g-gold);
  background: rgba(201, 143, 34, 0.15);
  mix-blend-mode: normal;
}

/* ============================================
   HEADER
   ============================================ */

.gr-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1200px;
  transform: translateX(-50%);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(31, 111, 84, 0.12);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.gr-header.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-lg);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--g-ink);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.main-nav a:hover {
  color: var(--g-green);
  background: var(--g-green-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--g-gray-light);
  border-radius: var(--radius-full);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--g-gray);
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--g-white);
  color: var(--g-green);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: var(--g-ink);
}

.mobile-menu-btn {
  position: relative;
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--g-ink);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--g-green);
  color: var(--g-white);
  border-color: var(--g-green);
}

.btn-primary:hover {
  background: var(--g-green-dark);
  border-color: var(--g-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 111, 84, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--g-green);
  border-color: var(--g-green);
}

.btn-outline:hover {
  background: var(--g-green);
  color: var(--g-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 111, 84, 0.2);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.pulse-animation {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 111, 84, 0.4);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(31, 111, 84, 0);
  }
}

/* ============================================
   HERO
   Imagen solo en el hero.
   Para cambiar altura: modifica --hero-height en :root.
   ============================================ */

.hero-papercut.hero-with-bg {
  position: relative;

  min-height: var(--hero-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;

  background-image: url("/assets/banner/hero-papercut-bg.svg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 140px 24px 50px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 16px;
  color: var(--g-gold-dark);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--g-ink);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-title span,
.hero-title strong {
  color: var(--g-green);
}

.hero-subtitle {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--g-gray);
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.estimate-section,
.services-section,
.projects-section,
.why-section,
.contact-section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  color: var(--g-gold-dark);
  background: rgba(201, 143, 34, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 12px;
  color: var(--g-ink);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--g-gray);
  font-size: 1.05rem;
}

.center-btn {
  margin-top: 40px;
  text-align: center;
}

/* ============================================
   ESTIMATE SECTION
   ============================================ */

.estimate-section {
  background: var(--g-white);
}

.estimate-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--g-cream);
  border: 1px solid var(--g-gray-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--g-green);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--g-ink);
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--g-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */

.services-section {
  background: var(--g-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  background: var(--g-white);
  border: 1px solid var(--g-gray-border);
  border-radius: var(--radius-lg);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  will-change: transform;
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--g-green);
  box-shadow:
    5px 5px 8px #bebebe,
    -5px -5px 8px #ffffff;
}

.service-img-placeholder {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-green-bg);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img-placeholder {
  background: rgba(201, 143, 34, 0.12);
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--g-ink);
  font-size: 1.15rem;
}

.service-card p {
  color: var(--g-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   PROJECTS
   ============================================ */

.projects-section {
  background: var(--g-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  background: var(--g-white);
  border: 1px solid var(--g-gray-border);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  will-change: transform;
}

.project-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    5px 5px 8px #bebebe,
    -5px -5px 8px #ffffff;
}

.project-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--g-green-bg);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-green-bg);
}

.project-image img:not([style*="display: none"])+.project-placeholder {
  display: none;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.project-info p {
  color: var(--g-gray);
  font-size: 0.85rem;
}

/* ============================================
   WHY GRUTENCO
   ============================================ */

.why-section {
  background: var(--g-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px 24px;
  background: var(--g-cream);
  border: 1px solid var(--g-gray-border);
  border-radius: var(--radius-md);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  will-change: transform;
}

.why-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-card:hover {
  border-color: var(--g-gold);
  box-shadow:
    8px 8px 12px #bebebe,
    -8px -8px 12px #ffffff;
}

.why-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--g-gray);
  font-size: 0.85rem;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-section {
  background: var(--g-cream);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-info {
  padding-right: 24px;
}

.contact-info .section-tag {
  margin-bottom: 12px;
}

.contact-info h2 {
  margin-bottom: 16px;
  font-size: 2.4rem;
}

.contact-info>p {
  margin-bottom: 24px;
  color: var(--g-gray);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.contact-cta-card {
  padding: 40px 32px;
  background: var(--g-green);
  color: var(--g-white);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-cta-card h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.contact-cta-card p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.contact-cta-card .btn-primary {
  background: var(--g-gold);
  color: var(--g-ink);
  border-color: var(--g-gold);
}

.contact-cta-card .btn-primary:hover {
  background: var(--g-gold-light);
  border-color: var(--g-gold-light);
}

/* ============================================
   FOOTER
   ============================================ */

.gr-footer {
  padding: 60px 0 30px;
  background: var(--g-ink);
  color: var(--g-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: var(--g-gold);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-brand p {
  margin-top: 12px;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 16px;
  color: var(--g-gold-light);
  font-size: 1rem;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--g-gold);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ============================================
   MOBILE HEADER / MENU ONLY
   ============================================ */

@media (max-width: 968px) {
  body {
    cursor: auto;
  }

  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }

  .gr-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .header-inner {
    padding: 10px 16px;
  }

  .header-logo {
    width: 140px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 999;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    padding: 100px 32px 40px;
    background: var(--g-white);
    box-shadow: var(--shadow-xl);
    transition: right 0.4s ease;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1.1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .lang-switcher,
  .header-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-logo {
    width: 120px;
  }

  .header-inner {
    padding: 10px 14px;
  }
}

/* ============================================
   RESPONSIVE FINAL SYSTEM
   Hero, text, buttons, images and cards
   ============================================ */

/* Escala general */
:root {
  --page-x: clamp(16px, 4vw, 48px);

  --hero-min-height: clamp(560px, 82vh, 820px);
  --hero-padding-top: clamp(110px, 15vh, 160px);
  --hero-padding-bottom: clamp(48px, 8vh, 90px);

  --hero-logo-width: clamp(220px, 36vw, 480px);
  --hero-title-size: clamp(1.5rem, 3.5vw, 2.6rem);
  --hero-subtitle-size: clamp(0.95rem, 1.5vw, 1.12rem);

  --section-padding: clamp(64px, 9vw, 110px);
  --card-padding: clamp(22px, 3vw, 36px);
  --button-font: clamp(0.9rem, 1.2vw, 1.05rem);
  --button-y: clamp(11px, 1.5vw, 14px);
  --button-x: clamp(22px, 3vw, 32px);
}

/* Evita deformación global */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

img {
  object-fit: cover;
}

/* Contenedor fluido */
.container {
  width: min(100% - calc(var(--page-x) * 2), 1200px);
  margin-inline: auto;
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */

.hero-papercut.hero-with-bg {
  min-height: var(--hero-min-height);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-overlay {
  width: 100%;
  padding: var(--hero-padding-top) var(--page-x) var(--hero-padding-bottom);
}

.hero-content {
  width: min(100%, 720px);
  margin-inline: auto;
  text-align: center;
}

/* Logo SVG del hero */
.hero-logo-svg {
  width: var(--hero-logo-width);
  max-width: 100%;
  margin: 0 auto clamp(14px, 2.5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-svg svg,
.hero-main-logo {
  width: 100% !important;
  height: auto !important;
  display: block;
  overflow: visible;
}

/* Texto del hero */
.hero-eyebrow {
  font-size: clamp(0.68rem, 1.1vw, 0.9rem);
  letter-spacing: clamp(1.5px, 0.35vw, 3px);
  margin-bottom: clamp(10px, 2vw, 16px);
}

.hero-title {
  font-size: var(--hero-title-size);
  line-height: 1.05;
  margin-bottom: clamp(14px, 2.4vw, 22px);
}

.hero-subtitle {
  max-width: min(100%, 560px);
  font-size: var(--hero-subtitle-size);
  line-height: 1.65;
  margin: 0 auto clamp(22px, 3vw, 34px);
}

/* Botones responsive */
.hero-actions,
.center-btn {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 16px);
}

.btn-lg {
  padding: var(--button-y) var(--button-x);
  font-size: var(--button-font);
  white-space: nowrap;
}

/* ============================================
   SECTIONS RESPONSIVE
   ============================================ */

.estimate-section,
.services-section,
.projects-section,
.why-section,
.contact-section {
  padding: var(--section-padding) 0;
}

.section-header {
  margin-bottom: clamp(36px, 6vw, 60px);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.1;
}

.section-header p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  max-width: min(100%, 650px);
}

/* ============================================
   GRIDS RESPONSIVE
   ============================================ */

.estimate-features,
.services-grid,
.projects-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.feature-card,
.service-card,
.why-card {
  padding: var(--card-padding);
}

.project-info {
  padding: clamp(16px, 2.5vw, 22px);
}

/* Imágenes de proyectos sin deformarse */
.project-image {
  aspect-ratio: 16 / 10;
  height: auto;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Iconos proporcionados */
.service-img-placeholder {
  width: clamp(76px, 9vw, 100px);
  height: clamp(76px, 9vw, 100px);
}

.service-img-placeholder svg,
.feature-icon svg,
.why-icon svg {
  width: clamp(34px, 5vw, 64px);
  height: auto;
}

/* Contact responsive */
.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 56px);
}

.contact-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.12;
}

/* Footer responsive */
.footer-grid {
  gap: clamp(28px, 4vw, 40px);
}

/* ============================================
   TABLET
   ============================================ */

@media (max-width: 968px) {
  :root {
    --hero-min-height: auto;
    --hero-padding-top: 120px;
    --hero-padding-bottom: 70px;

    --hero-logo-width: min(72vw, 340px);
    --hero-title-size: clamp(1.9rem, 7vw, 3.1rem);
    --hero-subtitle-size: 1rem;
  }

  .hero-papercut.hero-with-bg {
    min-height: 720px;
    background-position: center bottom;
  }

  .hero-content {
    width: min(100%, 620px);
  }

  .estimate-features,
  .services-grid,
  .projects-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   PHONE
   ============================================ */

@media (max-width: 600px) {
  :root {
    --page-x: 16px;

    --hero-padding-top: 105px;
    --hero-padding-bottom: 56px;

    --hero-logo-width: min(76vw, 260px);
    --hero-title-size: clamp(1.75rem, 8.5vw, 2.35rem);
    --hero-subtitle-size: 0.95rem;

    --section-padding: 72px;
    --button-font: 0.92rem;
    --button-y: 11px;
    --button-x: 22px;
  }

  .hero-papercut.hero-with-bg {
    min-height: 680px;
    background-position: center bottom;
  }

  .hero-eyebrow {
    letter-spacing: 1.6px;
  }

  .hero-title br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(100%, 300px);
  }

  .estimate-features,
  .services-grid,
  .projects-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    aspect-ratio: 4 / 3;
  }

  .service-card,
  .feature-card,
  .why-card,
  .contact-cta-card {
    border-radius: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SMALL PHONE
   ============================================ */

@media (max-width: 420px) {
  :root {
    --hero-logo-width: min(78vw, 230px);
    --hero-title-size: 1.65rem;
    --hero-subtitle-size: 0.9rem;
  }

  .hero-papercut.hero-with-bg {
    min-height: 640px;
  }

  .hero-overlay {
    padding-top: 96px;
  }

  .btn-lg {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   ABOUT INTRO
   ============================================ */

.about-lead {
  max-width: 780px;
  margin: 16px auto 0;
  color: var(--g-gray);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.about-intro {
  max-width: 920px;
  margin: 0 auto 42px;
}

.about-intro-card {
  padding: clamp(24px, 4vw, 42px);
  background: var(--g-white);
  border: 1px solid var(--g-gray-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-intro-card p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--g-gray);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.8;
}

.about-intro-card p + p {
  margin-top: 18px;
}

@media (max-width: 600px) {
  .about-intro {
    margin-bottom: 32px;
  }

  .about-intro-card {
    text-align: left;
    border-radius: 18px;
  }
}

/* ============================================
   CREDENTIALS & SAFETY
   ============================================ */

.credentials-section {
  padding: var(--section-padding) 0;
  background:
    linear-gradient(180deg, rgba(232, 245, 240, 0.72), rgba(255, 255, 255, 1));
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.credential-card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--g-white);
  border: 1px solid var(--g-gray-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.credential-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-green-bg);
  border-radius: 18px;
}

.credential-card h3 {
  margin-bottom: 10px;
  color: var(--g-green-dark);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.credential-card p {
  color: var(--g-gray);
  font-size: clamp(0.86rem, 1.1vw, 0.96rem);
  line-height: 1.7;
}

@media (max-width: 968px) {
  .credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .credential-card {
    border-radius: 18px;
  }
}