/* Maali Vet Care - Site estático */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --accent: #2e7d32;
  --text: #333;
  --text-light: #555;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.3rem 0;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
}

/* Main */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h2 {
  font-size: 1.6rem;
  margin: 1.8rem 0 0.8rem;
  color: var(--primary);
}

h3 {
  font-size: 1.25rem;
  margin: 1.4rem 0 0.6rem;
}

p, li {
  margin-bottom: 0.8rem;
}

ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.hero-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.page-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem 0 1.5rem;
  box-shadow: var(--shadow);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* Footer */
footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  padding: 2rem 1.2rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-contact h3 {
  margin-top: 0;
}

.map-container {
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 0.5rem;
}

.whatsapp:hover {
  background: #1da851;
  text-decoration: none;
}

.copyright {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 0.6rem;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 1.8rem;
  }
}
