body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1b2a3a;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header {
  background: #fff;
  border-bottom: 2px solid #f0c14b;
}

.logo {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #1b2a3a;
  font-weight: bold;
}

.hero {
  background: #0f2a44;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  background: #f0c14b;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #f0c14b;
  color: #fff;
}

.services {
  padding: 60px 0;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-card {
  background: #f5f5f5;
  padding: 30px;
  font-weight: bold;
}

.cta {
  background: #f0c14b;
  text-align: center;
  padding: 50px 0;
}

footer {
  background: #0f2a44;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Header improvements */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links a.active {
  border-bottom: 3px solid #f0c14b;
  padding-bottom: 6px;
}

/* Page hero */
.page-hero {
  background: #0f2a44;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.hero-actions {
  margin-top: 18px;
}

/* Trust bar */
.trust-bar {
  background: #f7f7f7;
  padding: 16px 0;
  border-bottom: 1px solid #eaeaea;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  text-align: center;
  font-weight: 700;
}

/* Services section */
.services-section {
  padding: 60px 0;
}

.section-subtitle {
  max-width: 800px;
  margin: 10px auto 30px;
  text-align: center;
  color: #2b3a4a;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.service-detail-card {
  background: #ffffff;
  border: 1px solid #e9eef3;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.service-detail-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.service-tag {
  background: rgba(240,193,75,0.2);
  color: #1b2a3a;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.checklist {
  padding-left: 18px;
  margin: 14px 0 0;
}

.checklist li {
  margin: 8px 0;
}

.service-cta {
  margin-top: 18px;
}

/* CTA subtitle */
.cta-subtitle {
  margin: 10px 0 20px;
}

/* Footer styling */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}

.footer-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 6px 0;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin: 0;
  padding-bottom: 18px;
}

/* Contact page */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.contact-info a {
  color: #0f2a44;
  font-weight: 700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}

input, select, textarea {
  padding: 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font-size: 16px;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(240,193,75,0.6);
  border-color: #f0c14b;
}

.small-muted {
  font-size: 13px;
  color: #5c6b7a;
  margin-top: 10px;
}

.form-message {
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0 18px;
  font-weight: 700;
}

.form-message.success {
  background: #e6f7ea;
  border: 1px solid #bfe7c8;
  color: #1d6b2c;
}

.form-message.error {
  background: #fde8e8;
  border: 1px solid #f5bcbc;
  color: #8a1c1c;
}

/* Honeypot (hidden field) */
.honeypot {
  display: none;
}

/* Small tweak so nav "Free Estimate" looks good as active */
.active-btn {
  box-shadow: 0 0 0 3px rgba(240,193,75,0.25);
}

/* About page */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}

.about-card {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Why section */
.why-section {
  padding: 60px 0;
  background: #f7f7f7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e9eef3;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.why-card h3 {
  margin-top: 0;
}

/* Gallery */
.gallery-section { padding: 60px 0; }

.gallery-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}

.filter-btn {
  border: 1px solid #cfd8e3;
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.active {
  border-color: #f0c14b;
  box-shadow: 0 0 0 3px rgba(240,193,75,0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.ba-card {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f2a44;
  overflow: hidden;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-left: 2px solid rgba(240,193,75,0.9);
}

.ba-slider {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: calc(100% - 20px);
  z-index: 4;
  accent-color: #f0c14b;
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  z-index: 4;
  background: rgba(15,42,68,0.75);
  color: #fff;
}

.ba-label-left { left: 12px; }
.ba-label-right { right: 12px; }

.ba-handle {
  position: absolute;
  top: 0;
  height: 100%;
  width: 0;
  z-index: 3;
  pointer-events: none;
}

.ba-handle::after{
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #f0c14b;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.ba-meta { padding: 16px 18px; }
.ba-meta h3 { margin: 0 0 6px; }
.ba-meta p { margin: 0; color: #5c6b7a; }

/* Service detail images */
.service-detail-card img {
  width: 100%;
  height: 200px;          /* Ajusta a 220px si quieres más altura */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
}

/* Optional subtle hover effect */
.service-detail-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9e4f2;
  font-size: 14px;
  margin-bottom: 14px;
  font-family: inherit;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form button {
  width: 100%;
}

/* SECTION LAYOUT */
.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 5%;
}

/* SECTION GRID */
.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 80px 5%;
  background: #f8f9fb;
}

/* CARD */
.card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* IMAGE WRAPPER */
.image-wrapper {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* IMAGE ZOOM */
.card:hover .card-img {
  transform: scale(1.1);
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover .overlay {
  opacity: 1;
}

/* BUTTON */
.btn {
  background: #ff6b00;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #ffffff;
  color: #ff6b00;
}

/* Estimate Form Styling */

.estimate-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(17,36,58,0.08);
}

.form-title {
  font-size: 24px;
  margin-bottom: 8px;
  text-align: center;
}

.form-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 14px;
}

/* FORM LAYOUT */
.estimate-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* DOUBLE SIZE FIELDS */
.estimate-form input,
.estimate-form textarea {
  width: 100%;
  padding: 18px 16px;     /* Bigger height */
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #d9e4f2;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f9fbfe;
}

/* Focus effect */
.estimate-form input:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(240,193,75,0.15);
}

/* Textarea */
.estimate-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Submit button */
.submit-btn {
  padding: 16px;
  font-size: 16px;
  font-weight: 900;
  border-radius: 12px;
  margin-top: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* CARD CONTENT */
.card-content {
  padding: 25px;
}

.card-content h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.card-content p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* BADGES */
.badge-row {
  margin-top: 10px;
}

.badge {
  display: inline-block;
  background: #eef1f5;
  padding: 6px 12px;
  margin: 5px 6px 0 0;
  border-radius: 20px;
  font-size: 13px;
}
