
:root {
  --bg-dark: #111317;
  --bg-panel: #1a1d24;
  --bg-panel-hover: #22262f;
  --accent-orange: #e67e22;
  --text-main: #ffffff;
  --text-muted: #8e98a8;
  --font-heading: "Alfa Slab One", serif;
  --heading-spacing: 0.07em;

  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.text-orange {
  color: var(--accent-orange);
}
.text-muted {
  color: var(--text-muted);
}

[style*="font-heading"],
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.title,
.gallery-title,
.stat-number {
  letter-spacing: var(--heading-spacing);
}
.subtitle {
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.75rem;
  margin-top: 20px;
  text-transform: uppercase;
}
.title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.section-padding {
  padding: 5rem 0;
}
.section-gap {
  margin-bottom: 5rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.position-relative {
  position: relative;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--accent-orange);
  color: #fff;
  border: 2px solid var(--accent-orange);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-orange);
}
.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* ─── SCROLL OFFSET para navbar fijo ─── */
#about,
#services,
#work,
#media,
#safety,
#service-area,
#contact {
  scroll-margin-top: 80px;
}

/* ─── HEADER / NAV ─── */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  background-color: rgba(17, 19, 23, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
}
.logo {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-icon {
  margin-top: 3px;
  height: auto;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--accent-orange);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-image: url("/images/Header.png");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 19, 23, 0.92) 0%,
    rgba(17, 19, 23, 0.45) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.hero-content {
  max-width: 700px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.hero-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats-side {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-stats-side h3 {
  color: var(--accent-orange);
  font-size: 2.5rem;
  font-family: var(--font-heading);
  line-height: 1;
}
.hero-stats-side p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-content .hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}
/* ─── STATS BAR ─── */
.stats-bar {
  padding: 5rem 0;
  background-color: var(--bg-panel);
  text-align: center;
}
.grid-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  padding: 1.5rem 1rem;
}
.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.stat-subtext {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ─── SECTION HEADER ─── */
.section-header {
  margin-bottom: 3rem;
}

/* ─── CAPABILITIES GRID ─── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 2.5rem;
  padding-left: 7rem;
  padding-right: 7rem;
}
.cap-card {
  background-color: var(--bg-panel);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}
.cap-card:hover {
  background-color: var(--bg-panel-hover);
}
.cap-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #333;
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}
.cap-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.cap-card ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  padding-left: 1.2rem;
  position: relative;
}
.cap-card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-size: 0.65rem;
  top: 4px;
}

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 70px;
  padding-left: 7rem;
  padding-right: 7rem;
}
.service-card {
  background-color: var(--bg-panel);
  padding: 2rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.service-card:hover {
  background-color: var(--bg-panel-hover);
}
.icon-wrapper {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 1rem;
}
.service-card h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ─── WHY US ─── */
.backgnd-sevices {
  width: 100%;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 20%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0.1) 60%,
      rgba(0, 0, 0, 0) 80%
    ),
    url("/images/Header2.png") center/cover no-repeat;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  display: flex;
  gap: 1.2rem;
  background-color: rgba(17, 19, 23, 0.918);
  padding: 2rem;
  border-radius: 5px;
  background-color: var(--bg-panel);
  border: 1px solid #2a2d35;
  padding: 2rem 1rem;
  transition:
    border-color 0.3s,
    background 0.3s;
  text-decoration: none;
}
.feature-card:hover {
  border-color: var(--accent-orange);
  background-color: var(--bg-panel-hover);
}
.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.feature-text h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.feature-text h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
  color: var(--text-main);
}
.feature-text p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

/* ─── PORTFOLIO GALLERY ─── */
.portfolio-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gallery-top,
.gallery-bottom {
  display: grid;
  gap: 1rem;
}
.gallery-top {
  grid-template-columns: 2fr 1fr;
}
.gallery-bottom {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-top .gallery-img {
  height: 360px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 19, 23, 0.92) 0%,
    rgba(17, 19, 23, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem 1.4rem;
}
.gallery-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-desc {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition:
    max-height 0.4s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
  margin-top: 0.3rem;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.04);
}
.gallery-item:hover .gallery-desc {
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
}

/* ─── PROJECT MEDIA ─── */
.project-media {
  background-color: var(--bg-dark);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.media-thumb--video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #2a2d35;
}
.media-thumb--video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}

.media-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--bg-panel);
  border: 1px solid #2a2d35;
  border-radius: 6px;
  padding: 2rem 1rem;
  min-height: 210px;
  transition:
    border-color 0.3s,
    background 0.3s;
  text-decoration: none;
}
.media-thumb:hover {
  border-color: var(--accent-orange);
  background-color: var(--bg-panel-hover);
}
.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.media-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}
.media-card h5 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
}
.media-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SAFETY ─── */
.safety-section {
  position: relative;
  padding: 6rem 0;
  background-image: url("/images/Safety.png");
  background-size: cover;
  background-position: center ;
}
.safety-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(17, 19, 23, 0.88);
}
.safety-inner {
  position: relative;
  z-index: 2;
}
.safety-badge {
  display: flex; /* 👈 cambia esto */
  align-items: center;
  gap: 1rem;
  background-color: rgba(240, 88, 0, 0.432);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  margin: 0 auto 3rem auto;
  width: fit-content;
}
.safety-zero {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent-orange);
}
.safety-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.safety-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.safety-item {
  display: flex;
  gap: 0.8rem;
  background-color: rgba(26, 29, 36, 0.75);
  border: 1px solid #2a2d35;
  border-radius: 4px;
  padding: 1.2rem;
}
.safety-item-bottom {
  display: flex;
  gap: 0.8rem;
  background-color: rgba(26, 29, 36, 0.75);
  border: 1px solid #2a2d35;
  border-radius: 4px;
  padding: 1.2rem;
  border-left: 3px solid var(--accent-orange);
}
.safety-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.4;
}
.safety-item h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-orange);
  margin-bottom: 0.4rem;
}
.safety-item-bottom h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}
.safety-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.safety-item-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.safety-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--accent-orange);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 40px;
}
.s-stat {
  text-align: center;
  color: black;
}
.s-stat h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.s-stat p {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ─── SERVICE AREA ─── */
.service-area {
  padding: 5rem 0;
  background-color: var(--bg-panel);
}
.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.pill {
  background-color: rgba(230, 126, 34, 0.12);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── BID / CONTACT SECTION ─── */
.bid-section {
  background-color: var(--bg-dark);
  padding: 6rem 0;
  border-top: 1px solid #2a2d35;
}
.bid-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.bid-contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  border-radius: 6px;
  overflow: hidden;
}
.bid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1rem;
}
.bid-row:last-child {
  border-bottom: none;
}
.bid-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 2rem;
  flex: 1;
  transition: background 0.25s;
}
.bid-contact-item:last-child {
  border-right: none;
}
.bid-contact-item:hover {
  background-color: var(--bg-panel-hover);
}
.bid-icon {
  font-size: 1.4rem;
  background-color: rgba(230, 126, 34, 0.15);
  border: 1px solid rgba(230, 126, 34, 0.3);
  border-radius: 6px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bid-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.25rem;
}
.bid-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 600;
  display: block;
  transition: color 0.2s;
}
a.bid-name:hover {
  color: var(--accent-orange);
}
.bid-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.bid-note {
  background: rgba(232, 122, 16, 0.08);
  border: 1px solid rgba(232, 122, 16, 0.25);
  border-radius: 5px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}
.bid-note-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--accent-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.bid-note p.text-muted {
  font-size: 0.88rem;
  line-height: 1.6;
}
.bid-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.bid-left {
  flex: 1;
}

.bid-right {
  flex: 1;
}
@media (max-width: 768px) {
  .bid-container {
    flex-direction: column;
  }
}
.bid-right form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.map-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 0.375rem 0.5rem;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
  color: #ffffff;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.map-placeholder svg {
  color: var(--accent-orange);
  position: relative;
  z-index: 2;
}
.map-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .bid-title {
    font-size: 2.4rem;
  }
  .bid-row {
    grid-template-columns: 1fr;
  }
  .bid-contact-item:last-child {
    border-bottom: 1px solid #2a2d35;
  }
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1; 
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  background-color: rgba(
    255,
    255,
    255,
    0.06
  );
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 6px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.form-select option {
  background-color: #2a2c32; 
  color: #ffffff; 
  padding: 10px; 
}

.form-select:focus option {
  background-color: #2a2c32;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888c94;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ffb547;
  background-color: rgba(255, 255, 255, 0.09);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px top 50%;
  background-size: 10px auto;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.btn--primary {
  background-color: #ffb547; 
  background-image: linear-gradient(to right, #ffb547, #ffa02b);
  color: #6a4a15; 
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition:
    opacity 0.3s ease,
    transform 0.1s ease;
  margin-top: 10px;
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 560px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 13px;
  }
  .form-textarea {
    min-height: 80px;
  }
  .btn--primary {
    padding: 12px;
    font-size: 13px;
  }
}
/* ─── FOOTER ─── */
.main-footer {
  background-color: #0e1014;
  padding: 4rem 0 2rem;
  border-top: 1px solid #2a2d35;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2a2d35;
  margin-bottom: 2rem;
}
.footer-logo {
  font-size: 1.3rem;
}
.footer-grid h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent-orange);
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.footer-grid ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-grid ul li:hover {
  color: var(--text-main);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.social-links {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.social-links span {
  cursor: pointer;
  transition: color 0.2s;
}
.social-links span:hover {
  color: var(--accent-orange);
}

/* ══════════════════════════════════════
   TABLET  ≤ 1024px
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .title {
    font-size: 2.6rem;
  }
  .hero-content h1 {
    font-size: 4rem;
  }
  .hero-content h2 {
    font-size: 2.2rem;
  }
  .grid-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════
   MÓVIL  ≤ 768px
══════════════════════════════════════ */
@media (max-width: 768px) {
  .container,
  section.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .stats-bar,
  .safety-section .container,
  .service-area .container,
  .bid-section .bid-container,
  .project-media .container,
  .section-padding:not(.container) > *:first-child,
  .hero .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  section:not(.hero) > div:not(.container) {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 19, 23, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 250;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  .nav-links .btn {
    font-size: 1rem;
    padding: 14px 32px;
  }

  .hero .container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }

  /* Stats laterales → fila */
  .hero-stats-side {
    flex-direction: column;
    text-align: left;
    width: 100%;
    gap: 1.5rem;
  }
  .hero-stats-side h3 {
    font-size: 1.8rem;
  }

  .title {
    font-size: 2rem;
  }
  .section-padding {
    padding: 3.5rem 0;
  }

  .grid-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-item h3 {
    font-size: 2.5rem;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .gallery-top {
    grid-template-columns: 1fr;
  }
  .gallery-top .gallery-item:first-child .gallery-img {
    height: 220px;
  }
  .gallery-bottom {
    grid-template-columns: 1fr;
  }
  .gallery-img {
    height: 200px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
  .safety-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .safety-grid-bottom {
    grid-template-columns: repeat(1, 1fr);
  }
  .safety-stats-bar {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }
  .s-stat h3 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════
   MUY PEQUEÑO  ≤ 400px
══════════════════════════════════════ */
@media (max-width: 560px) {
  .container,
  section.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content h2 {
    font-size: 1.4rem;
  }
  .title {
    font-size: 1.75rem;
  }
  .grid-stats {
    grid-template-columns: 1fr;
  }
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .safety-grid-bottom {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ─── WHATSAPP FLOTANTE ─── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background-color: #25d366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}
