/* ===== DF Seguros Corretora — Landing Page ===== */
:root {
  --red: #c8102e;
  --red-dark: #a00d25;
  --red-deep: #6b0f1a;
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #666666;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --border: #e8e8e8;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --radius-pill: 999px;
  --font: "Montserrat", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --header-h: 78px;
  --container: 1180px;
  --page-pad: clamp(1.5rem, 5vw, 4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.35em;
  height: 1.35em;
  display: block;
  fill: none;
  stroke: currentColor;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.btn--dark:hover {
  background: #000;
}

.btn--outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--black);
}

.btn--header {
  flex: 0 0 auto;
  padding: 0.7rem 1.2rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow__line {
  width: 36px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.eyebrow__label {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* Section heads */
.section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head__line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 1rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-head p {
  color: var(--gray);
  font-size: 1rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header > .container {
  max-width: 1280px;
  padding-inline: clamp(1.25rem, 3.5vw, 2.75rem);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}

.header__logo img {
  display: block;
  height: 48px;
  width: 170px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.header__nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.nav-link {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--black);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 5rem 0 5.5rem;
  overflow: visible;
  margin-bottom: 3.5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.72) 42%,
    rgba(10, 10, 10, 0.35) 70%,
    rgba(10, 10, 10, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__text {
  max-width: 560px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--red);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__features {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3rem;
  z-index: 3;
}

.hero__bg,
.hero__overlay {
  border-radius: 0;
}

.hero > .hero__bg,
.hero > .hero__overlay {
  overflow: hidden;
}

.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.features-bar__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.features-bar__item:last-child {
  border-right: none;
}

.features-bar__item .icon-wrap {
  width: 46px;
  height: 46px;
}

.features-bar__item .icon {
  width: 26px;
  height: 26px;
}

/* ===== Solutions ===== */
.solutions {
  background: var(--white);
  padding-top: 6.5rem;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.solutions__grid .sol-card:nth-child(5),
.solutions__grid .sol-card:nth-child(6),
.solutions__grid .sol-card:nth-child(7) {
  grid-column: span 1;
}

.solutions__grid {
  grid-template-columns: repeat(4, 1fr);
}

/* 4 on first row, 3 centered-ish on second */
@media (min-width: 1100px) {
  .solutions__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }

  .solutions__grid .sol-card:nth-child(-n + 4) {
    grid-column: span 3;
  }

  .solutions__grid .sol-card:nth-child(n + 5) {
    grid-column: span 4;
  }
}

.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.sol-card__img {
  position: relative;
  height: 170px;
  overflow: visible;
  border-radius: 16px 16px 0 0;
  z-index: 2;
}

.sol-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
  border-radius: 15px 15px 0 0;
  display: block;
}

.sol-card:hover .sol-card__img img {
  transform: scale(1.06);
}

.sol-card__icon {
  position: absolute;
  left: 1rem;
  bottom: -22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--red);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.sol-card__icon .icon {
  width: 26px;
  height: 26px;
}

.sol-card__body {
  padding: 2.4rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  position: relative;
  z-index: 1;
}

.sol-card__body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.sol-card__body p {
  color: var(--gray);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 1.1rem;
}

.sol-card__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: 0.25s;
  align-self: flex-start;
}

.sol-card__btn:hover {
  background: var(--red-dark);
  transform: translateX(3px);
}

/* ===== About ===== */
.about {
  background: var(--gray-light);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about__image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about__content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about__content h2 em {
  font-style: italic;
  color: var(--red);
}

.about__content p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.about__content .btn {
  margin-top: 0.75rem;
}

/* ===== Why ===== */
.why {
  background: var(--red-deep);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200, 16, 46, 0.35) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.25) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8102e' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 4.5rem 0;
  color: var(--white);
}

.why__inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center;
  margin-bottom: 2.75rem;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.why__icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.why__icon .icon {
  width: 34px;
  height: 34px;
}

.why__item span {
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 180px;
  line-height: 1.4;
}

/* ===== AGGER ===== */
.agger {
  background: var(--white);
}

.agger__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.agger__content h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.agger__content h2 em {
  font-style: italic;
  color: var(--red);
}

.agger__content p {
  color: var(--gray);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.agger__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.agger__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agger__photo {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
}

.agger__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-mockup__frame {
  width: 240px;
  background: #111;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 3px solid #2a2a2a;
}

.phone-mockup__notch {
  width: 90px;
  height: 18px;
  background: #111;
  border-radius: 0 0 12px 12px;
  margin: 0 auto -8px;
  position: relative;
  z-index: 2;
}

.phone-mockup__screen {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
}

.quote-ui {
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
}

.quote-ui__logo {
  height: 36px;
  margin: 0 auto 1.25rem;
}

.quote-ui h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.quote-ui > p {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.quote-ui__fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.quote-ui__fields span {
  display: block;
  background: var(--gray-light);
  border-radius: 8px;
  padding: 0.7rem;
  font-size: 0.75rem;
  color: var(--gray);
  text-align: left;
}

.quote-ui__cta {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Structure ===== */
.structure {
  background: var(--gray-light);
}

.structure__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.structure__item {
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.structure__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.structure__item:hover img {
  transform: scale(1.05);
}

/* ===== Partners ===== */
.partners {
  overflow: hidden;
}

.partners-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-carousel__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.25rem;
  padding: 0.35rem 0;
  animation: partners-scroll 32s linear infinite;
}

.partners-carousel:hover .partners-carousel__track {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex: 0 0 auto;
  width: 180px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.partner-logo img {
  width: 100%;
  height: 48px;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.partner-logo:hover {
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .partners-carousel__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--page-pad);
  }
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--dark);
  padding: 5rem 0;
  color: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.google-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.google-card__logo {
  height: 28px;
  width: auto;
}

.google-card__rating strong {
  display: block;
  margin-bottom: 0.4rem;
}

.google-card__rating span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}

.stars {
  color: #fbbc04;
  display: flex;
  gap: 3px;
  justify-content: center;
}

.stars.gold {
  color: #f5c518;
  justify-content: flex-start;
  margin-bottom: 0.85rem;
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
}

.testimonial-card {
  flex: 0 0 calc(50% - 0.625rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.75rem;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.testimonial-card strong {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.testimonials__nav {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.testimonials__nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: 0.25s;
}

.testimonials__nav button:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ===== Contact ===== */
.contact__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem;
  transition: 0.25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.contact-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-card__icon--wa {
  background: #25d366;
}

.contact-card__icon--phone {
  background: #3b82f6;
}

.contact-card__icon--mail {
  background: var(--red);
}

.contact-card__icon--pin {
  background: var(--red);
}

.contact-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

.contact-card span {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
}

.maps-widget {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.maps-widget__info {
  padding: 1.1rem 1.15rem 1.25rem;
  border-right: 1px solid var(--border);
  overflow: visible;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.maps-widget__info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  color: #202124;
}

.maps-widget__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #5f6368;
  margin-bottom: 0.15rem;
}

.maps-widget__rating .stars {
  color: #fbbc04;
  font-size: 0.72rem;
  gap: 1px;
}

.maps-widget__reviews {
  color: #70757a;
}

.maps-widget__category {
  font-size: 0.82rem;
  color: #70757a;
  margin-bottom: 0.85rem;
}

.maps-widget__actions {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.maps-widget__actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1a73e8;
  min-width: 52px;
}

.maps-widget__actions a i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #1a73e8;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: 0.2s;
}

.maps-widget__actions a:hover i {
  background: #e8f0fe;
}

.maps-widget__details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.maps-widget__details li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: #3c4043;
  line-height: 1.45;
}

.maps-widget__details i {
  color: #70757a;
  width: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.maps-widget__details a {
  color: #1a73e8;
}

.maps-widget__details a:hover {
  text-decoration: underline;
}

.maps-widget__map {
  min-height: 320px;
  height: 100%;
}

.maps-widget__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: #111;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 300px;
}

.footer__logo {
  display: inline-block;
  line-height: 0;
}

.footer__logo img {
  height: 48px;
  width: 170px;
  max-width: none;
  object-fit: contain;
  display: block;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--red);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-social-title {
  margin-top: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: 0.2s;
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.35rem 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom__inner a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-bottom__inner a:hover {
  color: var(--red);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .solutions__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .solutions__grid .sol-card {
    grid-column: span 1 !important;
  }

  .contact__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    flex: none;
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__toggle {
    display: flex;
  }

  .btn--header {
    display: none;
  }
}

@media (max-width: 960px) {
  .features-bar {
    grid-template-columns: 1fr 1fr;
  }

  .features-bar__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .features-bar__item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .about__grid,
  .agger__grid,
  .testimonials__grid,
  .maps-widget {
    grid-template-columns: 1fr;
  }

  .maps-widget__info {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .maps-widget__map,
  .maps-widget__map iframe {
    height: 240px;
    min-height: 240px;
  }

  .why__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .structure__grid {
    grid-template-columns: 1fr;
  }

  .structure__item {
    height: 220px;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding-bottom: 10rem;
  }
}

@media (max-width: 700px) {
  .solutions__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .contact__cards {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.15rem;
  }

  .hero__actions .btn,
  .agger__actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .solutions__grid {
    grid-template-columns: 1fr !important;
  }

  .features-bar {
    grid-template-columns: 1fr;
  }

  .features-bar__item,
  .features-bar__item:nth-child(odd) {
    border-right: none;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup__frame {
    width: 200px;
  }
}
