:root {
  --green: #0f766e;
  --green-dark: #115e59;
  --green-soft: #d9f3ee;
  --cream: #f7f7f2;
  --cream-strong: #efefe6;
  --text: #1f2933;
  --muted: #667085;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 8%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.logo {
  font-weight: 850;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.96rem;
}

nav a:hover {
  color: var(--green);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.hero {
  padding: 72px 0;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 44px;
  padding: 96px 0 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

p {
  margin: 0 0 18px;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-card {
  background:
    radial-gradient(circle at top left, var(--green-soft), transparent 55%),
    var(--white);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.055);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.card p {
  color: var(--muted);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.button:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: var(--white);
  color: var(--green);
  border: 1px solid rgba(15, 118, 110, 0.2);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 42px;
  background: var(--cream-strong);
  border-radius: 36px;
  padding: 48px;
  margin: 56px 0;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.split-section.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split-section.reverse > div:first-child {
  order: 2;
}

.split-section p {
  color: var(--muted);
  max-width: 720px;
}

.simple-list {
  display: grid;
  gap: 16px;
}

.simple-list div {
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
}

.simple-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.simple-list span {
  display: block;
  color: var(--muted);
}

.catalog-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog-preview-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.catalog-preview-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.catalog-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 37, 34, 0.82) 0%,
    rgba(12, 37, 34, 0.3) 48%,
    rgba(12, 37, 34, 0.05) 100%
  );
}

.catalog-preview-card span {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 1;
  color: white;
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.catalog-alimentos img {
  object-position: center;
}

.catalog-accesorios img {
  object-position: center;
}

.catalog-juguetes img {
  object-position: center;
}

.catalog-higiene img {
  object-position: center;
}

.catalog-preview-card:hover img {
  transform: scale(1.04);
}

.contact-banner {
  background:
    linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  border-radius: 36px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
}

.contact-banner .eyebrow {
  color: var(--green-soft);
}

.contact-banner h2 {
  color: white;
}

.contact-banner p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 680px;
  margin-bottom: 0;
}

.contact-banner .button {
  background: white;
  color: var(--green);
  box-shadow: none;
  white-space: nowrap;
}

.contact-banner .button:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

footer {
  text-align: center;
  padding: 32px;
  color: #6b7280;
}

@media (max-width: 820px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 24px;
  }

  nav {
    gap: 12px 18px;
  }

  main {
    padding: 36px 18px 56px;
  }

  .hero-home,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .hero-home {
    padding: 56px 0 40px;
  }

  .split-section.reverse > div:first-child {
    order: 0;
  }

  .section {
    padding: 48px 0;
  }

  .split-section,
  .contact-banner {
    padding: 28px;
    border-radius: 28px;
  }

  .catalog-preview {
    grid-template-columns: 1fr;
  }

  .contact-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --- Contact page --- */

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 96px 0 72px;
}

.image-placeholder,
.map-placeholder {
  min-height: 360px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.92)),
    var(--white);
  border: 1px dashed rgba(15, 118, 110, 0.36);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  box-shadow: var(--shadow);
}

.image-placeholder span,
.map-placeholder span {
  display: block;
  font-weight: 900;
  color: var(--green-dark);
  font-size: 1.3rem;
}

.image-placeholder small,
.map-placeholder small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  max-width: 260px;
}

.contact-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.contact-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0 72px;
}

.contact-card {
  background: var(--white);
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.contact-card p {
  color: var(--muted);
}

.contact-card a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--green-dark);
}

@media (max-width: 900px) {
  .contact-hero {
    grid-template-columns: 1fr;
    padding: 56px 0 40px;
  }

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

  .contact-photo,
  .image-placeholder,
  .map-placeholder {
    min-height: 260px;
  }
}

/* --- About page --- */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 96px 0 72px;
}

.about-photo {
  min-height: 440px;
}

.about-photo-small {
  min-height: 340px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  background: var(--white);
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
}

.team-card h3 {
  margin-top: 18px;
}

.team-card p {
  color: var(--muted);
}

.team-role {
  color: var(--green) !important;
  font-weight: 800;
  margin-bottom: 10px;
}

.person-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.92)),
    var(--white);
  border: 1px dashed rgba(15, 118, 110, 0.36);
  display: grid;
  place-items: center;
}

.person-placeholder span {
  color: var(--green-dark);
  font-weight: 900;
}

.values-section {
  background: var(--cream-strong);
  border-radius: 36px;
  padding: 48px;
  margin: 56px 0;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.values-grid article {
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.values-grid span {
  display: inline-block;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.values-grid p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding: 56px 0 40px;
  }

  .about-photo,
  .about-photo-small {
    min-height: 260px;
  }

  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-section {
    padding: 28px;
    border-radius: 28px;
  }
}

/* --- Products page --- */

.products-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 96px 0 56px;
}

.products-hero-card {
  background:
    radial-gradient(circle at top left, var(--green-soft), transparent 55%),
    var(--white);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.products-hero-card span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.products-hero-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.products-hero-card p {
  color: var(--muted);
}

.products-toolbar {
  background: var(--white);
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.045);
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.search-box label,
.filter-box span {
  display: block;
  color: var(--green-dark);
  font-weight: 850;
  margin-bottom: 10px;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  outline: none;
  background: var(--cream);
}

.search-box input:focus {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: var(--white);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  background: var(--green);
  color: white;
}

.products-count {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 22px;
}

.products-count span:first-child {
  color: var(--green);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.product-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.09);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.055);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card--highlighted {
  border-width: 3px;
  border-color: rgba(190, 143, 28, 0.72);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.065),
    0 0 0 1px rgba(218, 165, 32, 0.25);
}

.product-highlight-badge {
  position: absolute;
  top: -1px;
  left: 24px;
  z-index: 2;

  padding: 8px 14px 9px;

  background: linear-gradient(
    135deg,
    rgba(225, 184, 79, 0.78),
    rgba(190, 143, 28, 0.58)
  );

  border: 1px solid rgba(157, 111, 14, 0.48);
  border-top: 0;
  border-radius: 0 0 14px 14px;

  color: #493407;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;

  backdrop-filter: blur(7px) saturate(1.15);
  -webkit-backdrop-filter: blur(7px) saturate(1.15);

  box-shadow:
    0 7px 18px rgba(110, 75, 5, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.product-card[hidden] {
  display: none;
}

.product-image-wrap {
  position: relative;
  background: var(--green-soft);
  min-height: 240px;
}

.product-image-wrap img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}

.product-placeholder {
  height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.8)),
    var(--cream);
}

.product-placeholder span {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.product-placeholder small {
  display: block;
  color: var(--green-dark);
  font-weight: 850;
}

.product-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.product-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.product-description {
  color: var(--muted);
  margin-bottom: 22px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-price {
  margin: 0;
  color: var(--text);
  font-weight: 950;
  font-size: 1.15rem;
}

.product-button {
  padding: 11px 16px;
  white-space: nowrap;
}

.empty-products-message {
  background: var(--cream-strong);
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  margin: 32px 0;
}

.empty-products-message h2 {
  font-size: 2rem;
}

.empty-products-message p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .products-hero,
  .products-toolbar {
    grid-template-columns: 1fr;
  }

  .products-hero {
    padding: 56px 0 36px;
  }

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

@media (max-width: 640px) {
  .products-toolbar {
    padding: 18px;
    border-radius: 24px;
  }

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

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-button {
    width: 100%;
    text-align: center;
  }
}

/* --- Services page --- */

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 96px 0 72px;
}

.services-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.services-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-intro {
  padding-top: 40px;
}

.service-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.service-pillars article {
  background: var(--white);
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
}

.service-pillars p {
  color: var(--muted);
}

.services-dynamic-list {
  display: grid;
  gap: 16px;
}

.services-dynamic-list article {
  background: var(--white);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
}

.services-dynamic-list h3 {
  margin-bottom: 8px;
}

.services-dynamic-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.field-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.field-card {
  border-radius: 34px;
  overflow: hidden;
}

.field-card.large {
  background:
    radial-gradient(circle at top left, var(--green-soft), transparent 55%),
    var(--white);
  padding: 44px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: var(--shadow);
}

.field-card.large p {
  color: var(--muted);
}

.field-card.large .button {
  margin-top: 10px;
}

.field-placeholder {
  height: 100%;
  min-height: 420px;
  box-shadow: none;
}

.process-section {
  background: var(--cream-strong);
  border-radius: 36px;
  padding: 48px;
  margin: 56px 0;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.process-grid article {
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.process-grid span {
  display: inline-block;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.process-grid p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .services-hero,
  .field-section {
    grid-template-columns: 1fr;
  }

  .services-hero {
    padding: 56px 0 40px;
  }

  .services-photo,
  .field-placeholder {
    min-height: 260px;
  }

  .service-pillars,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-section,
  .field-card.large {
    padding: 28px;
    border-radius: 28px;
  }
}

/* --- Updated home page --- */

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 56px;
  align-items: center;
  padding: 96px 0 72px;
}

.home-hero-content {
  max-width: 720px;
}

.brand-mark-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, var(--green-soft), transparent 60%),
    var(--white);
  border: 1px dashed rgba(15, 118, 110, 0.42);
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-weight: 900;
  margin-bottom: 28px;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.12);
}

.hero-photo-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  min-height: 560px;
}

.photo-placeholder {
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.92)),
    var(--white);
  border: 1px dashed rgba(15, 118, 110, 0.36);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  overflow: hidden;
}

.photo-placeholder span {
  display: block;
  color: var(--green-dark);
  font-weight: 950;
  font-size: 1.25rem;
}

.photo-placeholder small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  max-width: 260px;
}

.photo-main {
  grid-row: span 2;
}

.photo-small {
  min-height: 220px;
}

.home-quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 8px 0 72px;
}

.home-quick-info article {
  background: var(--white);
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.home-quick-info span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.home-quick-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.home-quick-info p {
  color: var(--muted);
  margin-bottom: 0;
}

.home-about-photo {
  position: relative;
  min-height: 360px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.home-about-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-about-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.home-about-copy h2 {
  max-width: 680px;
}

.home-about-copy > p:not(.eyebrow) {
  font-size: 1.04rem;
  line-height: 1.7;
}

.home-about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.home-about-highlights div {
  min-height: 100px;
  padding: 17px 15px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-about-highlights strong {
  display: block;
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.home-about-highlights span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.home-services-grid article {
  background: var(--white);
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
}

.home-services-grid p {
  color: var(--muted);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.home-photo-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 220px 220px;
  gap: 18px;
  padding-top: 40px;
}

.strip-large {
  grid-row: span 2;
}

.strip-tall {
  grid-row: span 2;
}

.strip-small {
  min-height: 220px;
}

/* Fotos de la galería de inicio */

.home-strip-photo {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-strip-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-local img {
  object-position: center;
}

.photo-campo img {
  object-position: center;
}

.photo-productos img {
  object-position: center;
}

.photo-mascotas img {
  object-position: center;
}

.home-location-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 36px;
  align-items: center;
  background: var(--cream-strong);
  border-radius: 36px;
  padding: 48px;
  margin: 56px 0;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.home-location-card p {
  color: var(--muted);
}

.home-map-placeholder {
  min-height: 340px;
  box-shadow: none;
}

@media (max-width: 980px) {
  .home-hero,
  .home-location-card {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 56px 0 40px;
  }

  .hero-photo-panel {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 220px;
  }

  .photo-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .home-quick-info,
  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-photo-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px 220px;
  }

  .strip-large,
  .strip-tall {
    grid-row: auto;
  }

  .strip-large {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .brand-mark-placeholder {
    width: 78px;
    height: 78px;
    border-radius: 24px;
  }

  .hero-photo-panel,
  .home-photo-strip {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-main,
  .strip-large {
    grid-column: auto;
  }

  .photo-placeholder,
  .photo-small,
  .strip-small,
  .strip-tall,
  .strip-large {
    min-height: 230px;
  }

  .home-location-card {
    padding: 28px;
    border-radius: 28px;
  }
}

/* --- Full visual homepage hero --- */

.home-visual-hero {
  position: relative;
  width: 100vw;
  min-height: 720px;
  margin-left: calc(50% - 50vw);
  margin-top: -56px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  opacity: 0;
  animation: heroFade 18s infinite;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.22), rgba(255, 255, 255, 0.84)),
    var(--cream);
}

.hero-slide span {
  color: rgba(17, 94, 89, 0.55);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  border-radius: 32px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(4px);
}

.slide-one {
  animation-delay: 0s;
}

.slide-two {
  animation-delay: 6s;
  background:
    linear-gradient(135deg, rgba(217, 243, 238, 0.9), rgba(255, 255, 255, 0.76)),
    var(--cream);
}

.slide-three {
  animation-delay: 12s;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(239, 239, 230, 0.9)),
    var(--cream);
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  8% {
    opacity: 1;
  }

  33% {
    opacity: 1;
    transform: scale(1);
  }

  42% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(247, 247, 242, 0.96) 0%,
      rgba(247, 247, 242, 0.88) 38%,
      rgba(247, 247, 242, 0.42) 72%,
      rgba(247, 247, 242, 0.18) 100%
    );
}

.home-visual-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 96px;
  max-width: 1180px;
}

.home-visual-content h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
}

.home-visual-content .hero-text {
  max-width: 620px;
}

.home-logo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, var(--green-soft), transparent 60%),
    rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(15, 118, 110, 0.44);
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-weight: 950;
  margin-bottom: 28px;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.14);
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 760px) {
  .home-visual-hero {
    min-height: 680px;
    margin-top: -36px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(247, 247, 242, 0.96) 0%,
        rgba(247, 247, 242, 0.9) 58%,
        rgba(247, 247, 242, 0.48) 100%
      );
  }

  .home-visual-content {
    width: min(100% - 36px, 1180px);
    padding: 88px 0 72px;
  }

  .home-logo-placeholder {
    width: 78px;
    height: 78px;
    border-radius: 22px;
  }

  .hero-slide span {
    font-size: 1.45rem;
    padding: 28px;
  }
}

.map-embed {
  width: 100%;
  min-height: 360px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 118, 110, 0.12);
  background: var(--white);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
}

@media (max-width: 900px) {
  .map-embed,
  .map-embed iframe {
    min-height: 280px;
  }
}

.home-logo {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: white;
  padding: 12px;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.home-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Portada centrada y título inspirado en el logo --- */

.home-visual-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-visual-content .home-logo {
  margin: 0 auto 28px;
}

.home-visual-content .hero-text {
  margin-left: auto;
  margin-right: auto;
}

.home-visual-content .hero-actions {
  width: 100%;
  justify-content: center;
}

.home-visual-content .home-brand-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 4px 0 30px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.home-brand-norte {
  display: block;
  font-family: "Avenir Next", "Arial Black", Arial, sans-serif;
  font-size: clamp(4.5rem, 10vw, 8.8rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.82;
  letter-spacing: -0.075em;
  color: var(--text);
  transform: scaleX(1.04);
  transform-origin: center;
}

.home-brand-agroveterinaria {
  display: block;
  margin-top: 0.3em;
  font-family: "Avenir Next", "Arial Black", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.7vw, 2.35rem);
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--text);
}

@media (max-width: 600px) {
  .home-visual-content .home-brand-title {
    margin-bottom: 24px;
  }

  .home-brand-norte {
    font-size: clamp(4rem, 20vw, 5.6rem);
  }

  .home-brand-agroveterinaria {
    font-size: clamp(0.9rem, 4.4vw, 1.25rem);
    letter-spacing: 0.07em;
  }

  .home-visual-content .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
  }

  .home-visual-content .hero-actions .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .home-about-highlights {
    grid-template-columns: 1fr;
  }

  .home-about-highlights div {
    min-height: auto;
  }

  .home-about-copy h2 {
    font-size: 2rem;
  }
}

/* Credenciales de la sección Quiénes somos */

.home-about-highlights {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.home-about-highlights > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 18px;
}

.home-about-highlights strong {
  display: block;
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.home-about-highlights span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

@media (max-width: 700px) {
  .home-about-highlights {
    grid-template-columns: 1fr;
  }

  .home-about-highlights > div {
    min-height: auto;
  }
}

/* Ocultar temporalmente las fotos animadas del inicio */

.hero-slider {
  display: none;
}

.home-visual-hero {
  background:
    radial-gradient(
      circle at top center,
      rgba(217, 243, 238, 0.55),
      transparent 55%
    ),
    var(--cream);
}

/* Corrección de Quiénes somos en celulares */

@media (max-width: 820px) {
  .home-about-section {
    grid-template-columns: 1fr;
  }

  .home-about-photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    align-self: auto;
  }
}