/* ============================================================
   POZOS Y FILTRANTES DEL ROSARIO SRL — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --blue-dark:  #0b2a5e;
  --blue-mid:   #1a4fa0;
  --blue-light: #2e7fd4;
  --accent:     #f5a623;
  --white:      #ffffff;
  --gray-light: #f4f6f9;
  --gray-mid:   #e0e6ef;
  --gray-text:  #555e6e;
  --text-dark:  #1a2332;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(11,42,94,.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.25;
  color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--blue-dark);
  color: #cdd9f0;
  font-size: .82rem;
  font-family: 'Montserrat', sans-serif;
  padding: 7px 0;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.topbar a { color: #cdd9f0; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width:14px; height:14px; vertical-align:middle; margin-right:4px; }

/* ── HEADER / NAV ────────────────────────────────────────── */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(11,42,94,.1);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 52px; width: auto; object-fit: contain; }

nav ul {
  display: flex;
  gap: 8px;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--blue-dark);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  letter-spacing: .02em;
  text-transform: uppercase;
}
nav a:hover,
nav a.active {
  background: var(--blue-dark);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--blue-dark);
  border-radius: 4px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media(max-width:768px){
  .hamburger { display: flex; }
  nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(11,42,94,.15);
    padding: 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    z-index: 899;
  }
  nav.open { transform: translateY(0); opacity: 1; }
  nav ul { flex-direction: column; gap: 4px; }
  nav a { display: block; font-size: .95rem; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
  padding: 80px 0;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-content p {
  font-size: 1.1rem;
  color: #d8e6ff;
  margin-bottom: 32px;
  max-width: 540px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,42,94,.22); }
.btn-primary { background: var(--blue-mid); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent  { background: var(--accent); color: var(--white); }
.btn-accent:hover  { background: #d4891a; }
.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue-mid);
}
.btn-outline:hover { background: var(--blue-mid); color: var(--white); }

/* ── SECTION COMMON ──────────────────────────────────────── */
section { padding: 72px 0; }
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue-mid);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--gray-text);
  max-width: 600px;
  font-size: 1.02rem;
}
.section-center { text-align: center; }
.section-center .section-subtitle { margin: 0 auto; }

/* ── DIVIDER LINE ────────────────────────────────────────── */
.divider {
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin: 12px 0 28px;
}
.section-center .divider { margin: 12px auto 28px; }

/* ── VALUES STRIP ────────────────────────────────────────── */
.values-strip {
  background: var(--blue-dark);
  color: var(--white);
  padding: 50px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.value-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 10px;
}
.value-card p { font-size: .93rem; color: #b8ccec; line-height: 1.6; }
@media(max-width:640px){ .values-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── STATS ───────────────────────────────────────────────── */
.stats-section { background: var(--gray-light); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  margin-top: 40px;
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1;
}
.stat-label { font-size: .92rem; color: var(--gray-text); margin-top: 6px; font-weight: 600; }

/* ── SERVICE CARDS ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(11,42,94,.18); }
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body { padding: 24px; }
.service-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--blue-dark);
}
.service-card-body p { font-size: .9rem; color: var(--gray-text); }

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--gray-text);
  font-style: italic;
  margin-bottom: 20px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.reviewer-info strong { font-size: .9rem; font-weight: 700; display: block; }
.reviewer-info span { font-size: .8rem; color: var(--gray-text); }

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 48px;
  max-width: 680px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .93rem;
  color: var(--text-dark);
  background: var(--gray-light);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(46,127,212,.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: .9rem; margin-top: 12px; }
.form-msg.success { background: #e6f7ed; color: #1b6b3a; border: 1px solid #a3dbb8; display: block; }
.form-msg.error   { background: #fdecea; color: #8b1a1a; border: 1px solid #f5b7b1; display: block; }
@media(max-width:600px){ .form-grid { grid-template-columns: 1fr; } .contact-form-wrap { padding: 28px 20px; } }

/* ── CONTACT INFO CARDS ──────────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.info-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 26px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--blue-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; fill: var(--white); }
.info-card h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-dark); margin-bottom: 4px; }
.info-card p  { font-size: .9rem; color: var(--gray-text); }

/* ── TEAM CARDS ──────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s;
}
.team-card:hover { transform: translateY(-5px); }
.team-card img { width: 100%; height: 210px; object-fit: cover; }
.team-card-body { padding: 18px; }
.team-card-body strong { display: block; font-weight: 700; font-size: .95rem; }
.team-card-body span { font-size: .8rem; color: var(--gray-text); text-transform: uppercase; letter-spacing: .06em; }

/* ── MISSION / VISION ────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.mv-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 36px 32px;
  border-left: 5px solid var(--blue-mid);
}
.mv-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.mv-card p { color: var(--gray-text); line-height: 1.7; }
@media(max-width:640px){ .mv-grid { grid-template-columns: 1fr; } }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--blue-dark);
  padding: 64px 0 52px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p  { color: #b8ccec; font-size: 1.05rem; margin-top: 12px; }

/* ── ABOUT INTRO ─────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro img { border-radius: 12px; box-shadow: var(--shadow); }
@media(max-width:768px){ .about-intro { grid-template-columns: 1fr; } }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--blue-dark);
  color: #b0c4e8;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo img { height: 48px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: #8da8d0; line-height: 1.7; }
footer h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: #8da8d0; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { font-size: .88rem; margin-bottom: 8px; }
.footer-contact a { color: #8da8d0; }
.footer-contact a:hover { color: var(--accent); }
.footer-newsletter form { display: flex; gap: 8px; margin-top: 4px; }
.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .88rem;
  outline: none;
}
.footer-newsletter input::placeholder { color: #7a96c0; }
.footer-newsletter button {
  padding: 10px 16px;
  background: var(--blue-light);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  font-size: .85rem;
  transition: background .2s;
}
.footer-newsletter button:hover { background: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .82rem;
  color: #7a96c0;
  flex-wrap: wrap;
  gap: 12px;
}
@media(max-width:900px){
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:560px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── WHATSAPP BUTTON ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ── SPECIALIZED SERVICES SECTION ─────────────────────────── */
.specialized-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.spec-card {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 12px;
  overflow: hidden;
}
.spec-card img { width: 100%; height: 200px; object-fit: cover; opacity: .75; }
.spec-card-body { padding: 22px; }
.spec-card-body h3 { font-size: .95rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.spec-card-body p  { font-size: .87rem; color: #b0c4e8; }

/* ── HIGHLIGHT BAND ──────────────────────────────────────── */
.highlight-band {
  background: linear-gradient(120deg, var(--blue-mid), var(--blue-dark));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.highlight-band h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 14px; }
.highlight-band p  { color: #b8d4ff; font-size: 1.05rem; margin-bottom: 28px; }
