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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color:#17324d;
  background:#f3fbff;
  line-height: 1.6;
}


.hero {
  min-height: 90vh;
  background:
    linear-gradient(rgba(0, 35, 60, 0.10), rgba(0, 35, 60, 0.10)),
    url("abracar-rio-tomar.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 28px 8%;
}
background-size: cover;
background-position: center;
color: white;
padding: 28px 8%;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
}

.logo {
display: flex;
flex-direction: column;
line-height: 1.2;
}

.logo strong {
font-size: 22px;
}

.logo span {
  font-size: 16px;
opacity: 0.85;
}

.menu {
display: flex;
gap: 20px;
flex-wrap: wrap;
}

.menu a {
color: white;
text-decoration: none;
font-weight: bold;
font-size: 17px;
}

.menu a {
text-decoration: underline;
}

.hero-content {
max-width: 850px;
margin-top: 170px;
}

.label,
.section-label {
text-transform: uppercase;
letter-spacing: 2px;
font-size: 13px;
font-weight: bold;
color: #00a6a6;
margin-bottom: 14px;
}

.hero .label {
color: #d8ffff;
}

.hero h1 {
font-size: clamp(48px, 8vw, 86px);
line-height: 1;
margin-bottom: 26px;
}

.subtitle {
font-size: 28px;
max-width: 760px;
font-weight: 500;
margin-bottom: 34px;
}

.button {
display: inline-block;
text-decoration: none;
background: #00a6a6;
color: white;
padding: 15px 28px;
border-radius: 30px;
font-size: 16px;
font-weight: bold;
}

.button {
background: #008b8b;
}

section {
padding: 85px 8%;
}

.intro {
max-width: 980px;
margin: auto;
text-align: center;
}

.intro h2,
.rio h2,
.municipios h2,
.gallery h2,
.contactos h2 {
font-size: clamp(34px, 5vw, 52px);
line-height: 1.15;
margin-bottom: 24px;
color: #0c3b4f;
}

.intro p,
.rio p,
.contactos p {
font-size: 20px;
margin-bottom: 18px;
}

.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
padding-top: 20px;
}

.card {
background: white;
padding: 38px;
border-radius: 26px;
box-shadow: 0 12px 35px rgba(0,0,0,0.08);
border-top: 6px solid #00a6a6;
}

.card h3 {
margin-bottom: 15px;
color: #007c89;
font-size: 24px;
}

.rio {
display: grid;
grid-template-columns: 1.4fr 0.8fr;
gap: 45px;
align-items: center;
background: #e5f7f4;
}

.rio-box {
background: white;
padding: 35px;
border-radius: 26px;
box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.rio-box h3 {
color: #007c89;
margin-bottom: 18px;
}

.municipios {
text-align: center;
background: white;
}

.municipios-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 18px;
margin-top: 35px;
}

.municipios-grid div {
background: #f3fbff;
padding: 28px 15px;
border-radius: 22px;
font-size: 20px;
font-weight: bold;
color: #007c89;
}

.gallery {
text-align: center;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
margin-top: 35px;
}

.gallery-grid figure {
background: white;
border-radius: 26px;
overflow: hidden;
box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.gallery-grid img {
width: 100%;
height: 280px;
object-fit: cover;
display: block;
}

.gallery-grid figcaption {
padding: 18px;
font-weight: bold;
color: #0c3b4f;
}

.contactos {
background: #dff7f7;
text-align: center;
}

.contactos p {
max-width: 850px;
margin: 0 auto 30px auto;
}

footer {
background: #06283d;
color: white;
text-align: center;
padding: 45px 8%;
}

.footer-small {
opacity: 0.8;
}

@media (max-width: 900px) {
.navbar {
flex-direction: column;
align-items: flex-start;
}

.cards,
.rio,
.gallery-grid {
grid-template-columns: 1fr;
}

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

.hero-content {
margin-top: 110px;
}
}

@media (max-width: 520px) {
.municipios-grid {
grid-template-columns: 1fr;
}

section {
padding: 60px 6%;
}

.hero {
padding: 24px 6%;
}
}
nav h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

nav a {
  font-size: 18px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.hero p {
  font-size: 24px;
  max-width: 780px;
  margin-bottom: 26px;
}

.hero button,
.hero .button {
  font-size: 18px;
  padding: 16px 30px;
  border-radius: 30px;
  background: #00a6a6;
  color: white;
  border: none;
  font-weight: bold;
}
.hero h1 {
  font-size: 70px;
  line-height: 1.05;
  max-width: 760px;
}
