/* ============================================================
   CREA MIN — Landing Page Styles
   Paleta: #B9561B (naranja minería) + #479B81 (verde teal)
   Tipografía: Playfair Display (display) + DM Sans (cuerpo)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --orange:       #B9561B;
  --orange-light: #d4693000;
  --orange-dark:  #8f3e10;
  --green:        #479B81;
  --green-light:  #5ab89a;
  --green-dark:   #326e5c;

  --dark:         #1a1a1a;
  --dark-2:       #2d2a28;
  --mid:          #4a4540;
  --light-mid:    #7a746e;
  --light:        #f5f0eb;
  --white:        #ffffff;

  --radius-sm:    6px;
  --radius-md:    14px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  --shadow-sm:  0 2px 8px rgba(26,26,26,.08);
  --shadow-md:  0 8px 30px rgba(26,26,26,.12);
  --shadow-lg:  0 20px 60px rgba(26,26,26,.16);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --container: 1160px;
  --gap: clamp(20px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ---------- Container ---------- */
.container {
  width: min(var(--container), 100% - 2 * clamp(16px, 4vw, 48px));
  margin-inline: auto;
}

/* ---------- Utility ---------- */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag--light { color: #ffd7b8; background: rgba(255,255,255,.12); }
.section-header { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-header--light .section-title, .section-header--light .section-sub { color: var(--white); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--light);
  margin-bottom: 14px;
}
.section-title--light { color: var(--white); }
.section-sub { font-size: 1.05em; color: var(--light); max-width: 560px; margin-inline: auto; }
.section-sub--light { color: rgba(255,255,255,.75); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--dark-2);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185,86,27,.1);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img{ max-width:180px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .93em;
  font-weight: 500;
  color: var(--light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(185,86,27,.12);
  padding: 16px 0 20px;
  background: var(--white);
}
.mobile-menu a {
  padding: 12px clamp(16px, 4vw, 48px);
  font-weight: 500;
  color: var(--mid);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover { color: var(--orange); background: rgba(185,86,27,.04); }
.mobile-menu.open { display: flex; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .95em;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(185,86,27,.35);
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(185,86,27,.45);
}
.btn--ghost {
  background: transparent;
  color: var(--light);
  border: 1.5px solid var(--light);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--full { width: 100%; justify-content: center; }
.btn-loading { display: none; }
.btn.loading .btn-loading { display: inline-flex; align-items: center; gap: 6px; }
.btn.loading > i:first-child,
.btn.loading > span:first-of-type { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin .7s linear infinite; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 68px; /* navbar height */
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-2);
}

/* Shapes decorativas */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape--1 {
  width: clamp(300px, 50vw, 700px);
  height: clamp(300px, 50vw, 700px);
  background: radial-gradient(circle, rgba(185,86,27,.12) 0%, transparent 70%);
  top: -15%; right: -10%;
}
.hero-shape--2 {
  width: clamp(200px, 35vw, 500px);
  height: clamp(200px, 35vw, 500px);
  background: radial-gradient(circle, rgba(71,155,129,.12) 0%, transparent 70%);
  bottom: 0%; left: -8%;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(185,86,27,.12) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 60% at 80% 50%, black 0%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 60px);
  align-items: initial;
  padding-block: clamp(60px, 8vw, 60px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid rgba(185,86,27,.2);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--light);
  margin-bottom: 22px;
  animation: fadeUp .6s .12s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--orange);
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--light);
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp .6s .22s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeUp .6s .32s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeUp .6s .42s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--light-mid); margin-top: 3px; }
.stat-divider { width: 1px; height: 36px; background: rgba(26,26,26,.15); }

/* Hero visual cards */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  animation: fadeLeft .7s .2s ease both;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,26,26,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hero-card--main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
}
.hero-card-icon {
  font-size: 32px;
  line-height: 1;
}
.hero-card--main .hero-card-icon { color: rgba(255,255,255,.85); }
.hero-card--stand .hero-card-icon { color: var(--green); }
.hero-card--deco .hero-card-icon { color: var(--orange); }
.hero-card span {
  font-size: .9em;
  font-weight: 600;
  color: var(--mid);
}
.hero-card--main span { color: rgba(255,255,255,.9); }

.hero-float-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(71,155,129,.4);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios {
  padding-block: clamp(64px, 8vw, 120px);
  background: var(--dark-2);
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.servicio-card {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  outline: none;
}
.servicio-card:hover,
.servicio-card:focus-visible {
  border-color: rgba(185,86,27,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.servicio-card--featured {
  background: var(--white);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.servicio-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.servicio-icon-wrap {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.servicio-icon-wrap--orange { background: rgba(185,86,27,.1); color: var(--orange); }
.servicio-icon-wrap--green  { background: rgba(71,155,129,.1);  color: var(--green); }
.servicio-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.servicio-desc {
  font-size: .93em;
  color: var(--light-mid);
  margin-bottom: 18px;
  line-height: 1.6;
}
.servicio-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.servicio-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9em;
  color: var(--mid);
}
.servicio-list li i { color: var(--green); font-size: 16px; flex-shrink: 0; }
.servicio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88em;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition), color var(--transition);
}
.servicio-link:hover { gap: 10px; color: var(--orange-dark); }

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */
.porque {
  position: relative;
  padding-block: clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.porque-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-2) 0%, #1e3028 100%);
  z-index: -1;
}
.porque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.porque-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  transition: background var(--transition), transform var(--transition);
}
.porque-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.porque-icon {
  font-size: 32px;
  color: var(--green);
  margin-bottom: 16px;
}
.porque-card h3 {
  font-family: var(--font-display);
  font-size: 1.1em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.porque-card p { font-size: .92em; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ============================================================
   GALERÍA
   ============================================================ */
   /*.galeria{display: none}*/
.galeria {
  padding-block: clamp(64px, 8vw, 120px);
  background: var(--dark-2);
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /*grid-template-rows: 260px;*/
  gap: 16px;
  /*margin-bottom: 28px;*/
  grid-auto-flow: row;
}
.galeria-grid2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 160px;
  gap: 16px;
  /*margin-bottom: 28px;*/
  grid-auto-flow: row;
}
.galeria-grid3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /*grid-template-rows: 260px;*/
  gap: 16px;
  /*margin-bottom: 28px;*/
  grid-auto-flow: row;
}
.galeria-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.galeria-item--stand { grid-column: span 2; }
.galeria-item--tall { grid-row: span 2; }
.galeria-item--wide { grid-column: span 2; }
.galeria-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 40px;
  color: var(--orange);
  background: rgba(185,86,27,.06);
  transition: background var(--transition);
}
.galeria-placeholder--green { background: rgba(71,155,129,.06); color: var(--green); }
.galeria-placeholder--dark  { background: rgba(26,26,26,.06); color: var(--mid); }
.galeria-placeholder span {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--mid);
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.6) 0%, transparent 50%);
  display: inline;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.galeria-item:hover .galeria-overlay,
.galeria-item:focus-within .galeria-overlay { opacity: 1; }
.galeria-item:hover .galeria-placeholder { /*background: rgba(185,86,27,.1); */}
.galeria-tag, .galeria-tag2{
  flex: none;
}
.galeria-tag {
  background: var(--orange);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.galeria-tag2 {
  background: var(--green);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 6px;
}
.galeria-note {
  text-align: center;
  font-size: .9em;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.galeria-note a { color: var(--orange); font-weight: 600; }
.galeria-note a:hover { text-decoration: underline; }

.galeria-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  background: linear-gradient(135deg, #1e3028 0%, var(--dark-2) 100%);
  padding-block: clamp(64px, 8vw, 120px);
}
.contacto-form-wrap.col2 {
    background: url(img/back-form.png);
    height: 1020px;
    background-position: top right;
    background-size: cover;
    background-repeat: no-repeat;
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contacto-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05em;
  margin-bottom: 36px;
  line-height: 1.7;
}
.contacto-datos { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.dato {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.dato-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
}
.dato-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 3px;
}
.dato-value {
  font-size: .95em;
  color: var(--white);
  font-weight: 500;
}
a.dato-value:hover { color: var(--green); }
.contacto-promise {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(71,155,129,.15);
  border: 1px solid rgba(71,155,129,.3);
  color: var(--green-light);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: .88em;
  font-weight: 600;
}

/* Formulario */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}
.contacto-form { display: flex; flex-direction: column; gap: 0; }
.form-row { margin-bottom: 20px; }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: .87em;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: .02em;
}
.req { color: var(--orange); }

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(26,26,26,.14);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  font-size: .95em;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: #b0a9a1; }
input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(185,86,27,.1);
}
input.error, select.error, textarea.error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,.1);
}
textarea { resize: vertical; min-height: 110px; }

.select-wrap { position: relative; }
.select-wrap select { padding-right: 40px; cursor: pointer; }
.select-wrap > i {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--light-mid);
  pointer-events: none;
  font-size: 16px;
}
.form-error {
  font-size: .82em;
  color: #e05252;
  font-weight: 500;
  min-height: 18px;
  display: block;
}

/* Form status message */
.form-status {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .93em;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-status.success {
  background: rgba(71,155,129,.1);
  border: 1px solid rgba(71,155,129,.3);
  color: var(--green-dark);
}
.form-status.error-msg {
  background: rgba(224,82,82,.08);
  border: 1px solid rgba(224,82,82,.25);
  color: #c0392b;
}

.form-disclaimer {
  text-align: center;
  font-size: .81em;
  color: #b0a9a1;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-block: 64px;
}
.footer-tagline {
  font-size: .9em;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
  max-width: 220px;
  line-height: 1.6;
}
.footer-links h4,
.footer-contact h4 {
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: .9em;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-email {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9em;
  color: var(--green-light);
  margin-bottom: 10px;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-email:hover { color: var(--green); }
.footer-region { font-size: .85em; color: rgba(255,255,255,.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 22px;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .83em; color: rgba(255,255,255,.35); }
.footer-credit { font-style: italic; }

/* whatsapp */
.btn-whats {
    position: fixed;
    right: 0;
    z-index: 99;
    top: 50%;
    background: #479b81;
    height: 50px;
    padding: 4px 4px;
    border-radius: 8px 0 0 8px;
}
.btn-whats i {
    font-size: 40px;
    color: #ffffff;
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(185,86,27,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .contacto-form-wrap.col2 {
    max-height: 808px;
    margin-top: 192px;
  }
}

/* Tablet: ≤ 960px */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 440px; margin-inline: auto; }
  .hero-float-badge { bottom: -20px; }

  .contacto-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contacto-form-wrap.col2 {
    margin-top: 0px;
  }
}

/* Tablet pequeño: ≤ 768px */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 200px;
    grid-auto-flow: row;
  }
  .galeria-item--stand { grid-column: span 1; }
  .galeria-item--tall  { grid-row: span 1; }
  .galeria-item--wide  { grid-column: span 2; }

  .form-row--2col { grid-template-columns: 1fr; }
}

/* Móvil: ≤ 560px */
@media (max-width: 560px) {
  .hero-title { font-size: clamp(30px, 9vw, 46px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-divider { width: 48px; height: 1px; }

  .servicios-grid { grid-template-columns: 1fr; }
  .porque-grid    { grid-template-columns: 1fr; }

  .galeria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 240px);
    grid-auto-flow: row;
  }
  .galeria-grid2 {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 250px);
  }
  .galeria-grid3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(1, 240px);
    grid-auto-flow: row;
  }
  .galeria-grid3 {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 250px);
  }
  .galeria-item--stand { grid-column: span 1; }
  .galeria-item--wide  { grid-column: span 1; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px;
  }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .contacto-form-wrap.col2 {
    max-height: 400px;
  }
}
