/* =============================================
   PELVICARE — STYLESHEET
   Brand colors: teal #1B8CB4 | light blue #6BBFD6 | sage green #94AB5A
   ============================================= */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── VARIABLES ── */
:root {
  --teal:        #1B8CB4;
  --teal-dark:   #146B8A;
  --teal-light:  #6BBFD6;
  --teal-pale:   #EAF5FA;
  --green:       #94AB5A;
  --green-dark:  #7A9143;
  --white:       #ffffff;
  --off-white:   #F4F9FB;
  --text:        #1C3040;
  --text-muted:  #5A7280;
  --border:      #D3E8EF;
  --r:           16px;
  --r-sm:        8px;
  --r-pill:      50px;
  --shadow-sm:   0 2px 12px rgba(27, 140, 180, 0.08);
  --shadow-md:   0 8px 32px rgba(27, 140, 180, 0.14);
  --shadow-lg:   0 20px 60px rgba(27, 140, 180, 0.18);
  --max-w:       1200px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { line-height: 1.2; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.bg-light { background: var(--off-white); }
.section-title { margin-bottom: 1rem; }
.section-sub { max-width: 600px; font-size: 1.05rem; margin-bottom: 3rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-lg { padding: 15px 36px; font-size: 1rem; }

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 140, 180, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal-pale);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1aad52;
  border-color: #1aad52;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.nav__logo img { height: 42px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--teal); background: var(--teal-pale); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 96px;
  background: var(--off-white);
  overflow: hidden;
}

/* CSS blob decorations */
.hero__blob {
  position: absolute;
  pointer-events: none;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: var(--teal-light);
  opacity: 0.1;
  top: -160px; right: -140px;
  border-radius: 55% 45% 65% 35% / 45% 55% 45% 55%;
}
.hero__blob--2 {
  width: 320px; height: 320px;
  background: var(--green);
  opacity: 0.09;
  bottom: -40px; right: 22%;
  border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
}
.hero__blob--3 {
  width: 180px; height: 180px;
  background: var(--teal);
  opacity: 0.07;
  top: 28%; right: 12%;
  border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__shape { position: absolute; }
.hero__shape--1 { width: 420px; top: -80px; right: -60px; opacity: 0.12; }
.hero__shape--2 { width: 200px; bottom: 60px; right: 18%; opacity: 0.10; }
.hero__shape--3 { width: 300px; top: 20%; right: 5%; opacity: 0.07; }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
  animation: fadeUp 0.8s ease forwards;
}
.hero__inner h1 { margin-bottom: 1.25rem; }
.hero__inner h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card__bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
}
.bar--blue  { background: var(--teal-light); }
.bar--teal  { background: var(--teal); }
.bar--green { background: var(--green); }

.service-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.service-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { margin-bottom: 0.6rem; color: var(--text); }
.service-card p  { font-size: 0.93rem; line-height: 1.65; }

/* ── ABOUT ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-visual { display: flex; justify-content: center; }
.about-visual__frame {
  position: relative;
  width: 380px;
  height: 420px;
}

/* Background brand shape */
.about-visual__shape-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-visual__shape-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.2;
}

/* Actual photo — clipped into organic shape */
.about-visual__photo {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 40px;
  width: calc(100% - 20px);
  height: calc(100% - 50px);
  object-fit: cover;
  object-position: top center;
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 55%;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}
.about-visual__frame:hover .about-visual__photo {
  transform: scale(1.02);
}

.about-visual__badge {
  position: absolute;
  bottom: 0;
  right: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 195px;
}
.about-visual__badge strong {
  display: block;
  color: var(--teal-dark);
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.about-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.about-content > p { margin-bottom: 1.75rem; }
.about-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.about-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── MISSION & VISION ── */
.mission {
  background: var(--teal-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mission .eyebrow  { color: var(--teal-light); }
.mission .section-title { color: #fff; }
.mission p { color: rgba(255, 255, 255, 0.75); }

.mission__blob {
  position: absolute;
  pointer-events: none;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
}
.mission__blob--1 {
  width: 560px; height: 560px;
  background: rgba(255, 255, 255, 0.05);
  top: -180px; right: -120px;
}
.mission__blob--2 {
  width: 320px; height: 320px;
  background: var(--green);
  opacity: 0.08;
  bottom: -100px; left: -80px;
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.mission-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 40px 36px;
}
.mission-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.mission-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.mission-card p  { color: rgba(255, 255, 255, 0.78); line-height: 1.75; font-size: 0.96rem; }

.values-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.value-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 8px 20px;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.value-pill:hover { background: rgba(255, 255, 255, 0.18); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  font-size: 1.25rem;
  width: 48px; height: 48px;
  background: var(--teal-pale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.contact-item span { font-size: 0.96rem; color: var(--text-muted); }
.contact-item a { color: var(--teal); font-weight: 500; transition: opacity 0.2s; }
.contact-item a:hover { opacity: 0.75; text-decoration: underline; }
.contact-ctas { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }

/* Map placeholder */
.map-link { display: block; border-radius: var(--r); overflow: hidden; }
.map-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-pale);
  border: 2px dashed var(--teal-light);
  border-radius: var(--r);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  min-height: 320px;
  transition: background 0.2s, border-color 0.2s;
}
.map-link:hover .map-placeholder {
  background: #ddf0f7;
  border-color: var(--teal);
}
.map-placeholder__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.map-deco {
  position: absolute;
  opacity: 0.12;
}
.map-deco--1 { width: 180px; top: -40px; right: -30px; }
.map-deco--2 { width: 120px; bottom: -30px; left: -20px; }

.map-placeholder__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.map-placeholder__pin { font-size: 2.5rem; margin-bottom: 4px; }
.map-placeholder__content strong { font-size: 1.05rem; color: var(--text); }
.map-placeholder__content span  { font-size: 0.9rem; color: var(--text-muted); }
.map-cta { margin-top: 12px; color: var(--teal) !important; font-weight: 600 !important; font-size: 0.9rem !important; }

/* ── FOOTER ── */
.footer {
  background: var(--teal-dark);
  color: #fff;
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 10px;
}
.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: var(--teal-light);
  font-weight: 500;
  margin-bottom: 4px;
  transition: opacity 0.2s;
}
.footer-contact a:hover { opacity: 0.8; text-decoration: underline; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .about-visual  { order: -1; }
  .about-visual__frame { width: 300px; height: 340px; }
  .mission-grid  { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 72px; left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__link { padding: 12px 16px; font-size: 1rem; }
  .nav__links .btn { width: 100%; margin-top: 8px; }

  /* Hero */
  .hero { min-height: auto; padding: 100px 0 64px; }
  .hero__sub { font-size: 1rem; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__ctas .btn { width: 100%; max-width: 300px; }
  .hero__shape--1 { width: 280px; }
  .hero__shape--2 { display: none; }
  .hero__shape--3 { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about-visual__frame { width: 240px; height: 280px; }
  .about-visual__badge { right: 0; font-size: 0.8rem; padding: 12px 16px; max-width: 180px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .contact-item { flex-direction: column; }
  .map-placeholder { padding: 48px 24px; }
}
