:root {
  --bg-primary: #f7f7f8;
  --bg-secondary: #efeff1;
  --bg-tertiary: #e4e4e7;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(177, 18, 23, 0.04);
  --border: rgba(112, 112, 120, 0.18);
  --text-primary: #232326;
  --text-secondary: #63636b;
  --red: #b61f25;
  --red-strong: #d13a40;
  --red-soft: #e67579;
  --accent: #8a8a91;
  --success: #25d366;
  --shadow-lg: 0 24px 60px rgba(35, 35, 38, 0.12);
  --shadow-md: 0 18px 34px rgba(35, 35, 38, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-height: 88px;
  --hero-image:
    url('../img/oficina_original_home.png');
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(182, 31, 37, 0.08), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(228, 228, 231, 0.6), transparent 28%),
    linear-gradient(180deg, #fcfcfc 0%, #f4f4f5 48%, #ededf0 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  scroll-margin-top: 108px;
}

.trust-strip {
  padding: 16px 0;
  border-top: 1px solid rgba(112, 112, 120, 0.12);
  border-bottom: 1px solid rgba(112, 112, 120, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.trust-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-strip-content p {
  color: var(--text-secondary);
  font-weight: 600;
}

.trust-strip-content a {
  color: var(--red);
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2,
.hours-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-heading p,
.hero-description,
.hero-points,
.highlight-card p,
.about-copy p,
.info-panel p,
.proof-card p,
.hours-copy p,
.contact-info p,
.footer-brand p,
.contact-item span,
.hours-note p {
  color: var(--text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-nav {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  box-shadow: 0 18px 34px rgba(182, 31, 37, 0.24);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(112, 112, 120, 0.16);
}

.btn-full {
  width: 100%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(35, 35, 38, 0.08);
}

.nav-container {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 220px;
  height: 56px;
}

.brand-logo {
  width: 220px;
  max-width: 220px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.brand-logo-placeholder,
.footer-logo-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(112, 112, 120, 0.26);
  background: rgba(239, 239, 241, 0.9);
  color: var(--red);
  font-weight: 700;
}

.brand-logo-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta-mobile {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.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);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  color: #ffffff;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(15, 15, 18, 0.9) 0%, rgba(15, 15, 18, 0.82) 28%, rgba(15, 15, 18, 0.56) 54%, rgba(15, 15, 18, 0.34) 100%),
    linear-gradient(180deg, rgba(182, 31, 37, 0.18) 0%, rgba(18, 18, 20, 0.24) 100%),
    var(--hero-image);
  background-position: 62% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left 18%, top 18%, rgba(182, 31, 37, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(15, 15, 18, 0.14) 0%, rgba(15, 15, 18, 0.06) 34%, rgba(15, 15, 18, 0) 60%),
    linear-gradient(180deg, rgba(18, 18, 20, 0.06), rgba(18, 18, 20, 0.18));
  pointer-events: none;
}

.hero-grid,
.social-proof-grid,
.about-grid,
.services-grid,
.hours-grid,
.contact-grid,
.footer-content {
  display: grid;
  gap: 28px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-description {
  max-width: 580px;
  margin-bottom: 30px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero-background-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.hero-background-note::before {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ffffff;
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.hero-actions {
  margin-bottom: 34px;
}

.hero-points {
  margin-bottom: 26px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-points i {
  color: #ff8c93;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card,
.proof-card,
.service-card,
.info-panel,
.hours-panel,
.contact-info,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.pillar-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.pillar-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #ffffff;
}

.pillar-card p {
  color: rgba(255, 255, 255, 0.78);
}

.highlight-card i,
.proof-card i,
.service-icon,
.info-panel i,
.contact-item i,
.hours-note i {
  display: grid;
  place-items: center;
}

.highlight-card i,
.proof-card i,
.info-panel i,
.contact-item i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  box-shadow: 0 12px 20px rgba(182, 31, 37, 0.18);
}

.about-grid,
.hours-grid,
.contact-grid,
.footer-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-panels {
  display: grid;
  gap: 18px;
}

.info-panel {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
}

.services {
  background: linear-gradient(180deg, rgba(182, 31, 37, 0.04), rgba(255, 255, 255, 0) 100%);
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.presence {
  background: linear-gradient(180deg, rgba(228, 228, 231, 0.5), rgba(255, 255, 255, 0) 100%);
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.presence-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.presence-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(112, 112, 120, 0.14);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.presence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 31, 37, 0.22);
}

.presence-card i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
}

.presence-card strong {
  font-size: 1.2rem;
}

.presence-card p {
  color: var(--text-secondary);
}

.presence-card span {
  color: var(--red);
  font-weight: 700;
}

.google-business {
  background: linear-gradient(180deg, rgba(182, 31, 37, 0.05), rgba(255, 255, 255, 0) 100%);
}

.google-business-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.google-business-card,
.google-map-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(112, 112, 120, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.google-business-card {
  display: grid;
  gap: 24px;
  padding: 30px;
}

.google-rating strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  color: var(--text-primary);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(182, 31, 37, 0.08);
  color: var(--red);
  font-weight: 700;
}

.google-stars {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  color: #f4b400;
  font-size: 1.1rem;
}

.google-rating p,
.google-address p,
.google-note {
  color: var(--text-secondary);
}

.google-address h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.google-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(239, 239, 241, 0.76);
  border: 1px solid rgba(112, 112, 120, 0.1);
  font-size: 0.95rem;
}

.google-map-card {
  overflow: hidden;
  min-height: 460px;
}

.google-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  font-size: 1.45rem;
}

.service-card h3,
.contact-info h3,
.contact-form h3,
.info-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p,
.service-card li {
  color: var(--text-secondary);
}

.service-card ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
}

.hours-panel,
.contact-info,
.contact-form {
  padding: 30px;
  border-radius: 28px;
}

.hours-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(239, 239, 241, 0.7);
  border: 1px solid rgba(112, 112, 120, 0.12);
}

.hours-item span {
  color: var(--text-secondary);
}

.hours-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 8px;
}

.hours-note i {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  margin: 22px 0;
}

.contact-item span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.contact-item strong {
  font-size: 1rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(112, 112, 120, 0.16);
  border-radius: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group select option {
  background-color: #ffffff;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  caret-color: var(--red-soft);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text-primary);
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.98) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(99, 99, 107, 0.72);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(182, 31, 37, 0.46);
  box-shadow: 0 0 0 4px rgba(182, 31, 37, 0.1);
}

.footer {
  padding: 36px 0 16px;
  border-top: 1px solid rgba(112, 112, 120, 0.12);
}

.footer-brand {
  max-width: 520px;
}

.footer-logo {
  width: 280px;
  height: 82px;
  max-width: 100%;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: center;
}

.footer-logo-placeholder {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: var(--text-secondary);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1faa56);
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35);
  z-index: 1100;
  animation: pulse 2.6s infinite;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1200;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: linear-gradient(135deg, #22b45f, #25d366);
}

.toast.error {
  background: linear-gradient(135deg, #da4343, #b72f2f);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.2);
  }
  70% {
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .hours-grid,
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-pillars {
    grid-template-columns: 1fr;
  }

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

  .presence-grid-two,
  .google-business-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-container {
    grid-template-columns: minmax(0, 180px) 1fr auto;
  }

  .btn-nav {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: flex;
    justify-self: end;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    padding: 22px 16px 32px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(112, 112, 120, 0.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero {
    background-position: 56% center;
  }

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

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

@media (max-width: 560px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-actions,
  .hero-points,
  .footer-links,
  .hours-item {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-text small {
    display: none;
  }

  .brand-logo {
    width: 170px;
    max-width: 170px;
    height: 44px;
  }

  .info-panel,
  .contact-item {
    grid-template-columns: 1fr;
  }

  .hero-background-note {
    border-radius: 18px;
  }

  .hours-panel,
  .contact-info,
  .contact-form,
  .service-card {
    padding: 24px;
  }
}
