/* =====================================================
   The Flores Group — clean & modern
   White · teal · generous space · photo-forward
   ===================================================== */

:root {
  --teal:       #0d7982;
  --teal-deep:  #0a5b62;
  --teal-tint:  #eef6f6;
  --teal-tint2: #dcebec;
  --ink:        #14211f;
  --body:       #51605e;
  --line:       #e6e9e8;
  --bg:         #ffffff;
  --bg-alt:     #f7f9f9;
  --white:      #ffffff;
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1200px;
  --shadow:     0 4px 24px rgba(20, 33, 31, 0.06);
  --shadow-md:  0 16px 50px rgba(20, 33, 31, 0.12);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

a { color: var(--teal); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.bg-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px; display: inline-block;
}
.lead { font-size: 19px; color: var(--body); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn--solid { background: var(--teal); color: #fff; }
.btn--solid:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { background: var(--teal-tint); color: var(--teal-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: #fff; }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--line); }
.btn--outline:hover { border-color: var(--teal); background: var(--teal-tint); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.9); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 50px; width: auto; display: block; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 11px 15px; margin-bottom: 18px; }
.footer-logo img { height: 44px; width: auto; display: block; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 19px;
}
.brand__name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; }
.brand__sub { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav__links a:hover { color: var(--teal); }
.nav__cta { padding: 10px 20px; font-size: 14px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  padding: 120px 0 150px;
  background:
    linear-gradient(180deg, rgba(10,40,42,0.55) 0%, rgba(10,40,42,0.60) 100%),
    url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}
.hero__inner { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 70px); font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #8fd4d8; }
.hero p { font-size: 20px; color: rgba(255,255,255,0.92); max-width: 580px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Search bar */
.searchbar {
  margin-top: 40px; background: #fff; border-radius: 16px; padding: 12px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px;
  box-shadow: var(--shadow-md); max-width: 880px;
}
.searchbar .sf { display: flex; flex-direction: column; padding: 6px 12px; border-radius: 10px; }
.searchbar .sf + .sf { border-left: 1px solid var(--line); }
.searchbar label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.searchbar input, .searchbar select {
  border: none; outline: none; font-family: inherit; font-size: 15px; color: var(--ink);
  background: transparent; padding: 2px 0; width: 100%;
}
.searchbar .btn { border-radius: 12px; }

/* ---------- Badges strip ---------- */
.badges { border-bottom: 1px solid var(--line); background: #fff; }
.badges__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 26px 0; align-items: center; }
.badge-pill { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.badge-pill .ic { color: var(--teal); font-size: 18px; }
.badge-pill .stars { color: #e6a700; letter-spacing: 1px; }
.badge-sep { width: 1px; height: 26px; background: var(--line); }

/* ---------- Section heads ---------- */
.s-head { max-width: 640px; margin-bottom: 56px; }
.s-head--center { margin: 0 auto 56px; text-align: center; }
.s-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.s-head p { color: var(--body); }

/* ---------- Services / cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ic {
  width: 52px; height: 52px; border-radius: 13px; background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center; font-size: 23px; margin-bottom: 20px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15.5px; }

/* ---------- Stats band ---------- */
.stats { background: var(--teal); color: #fff; }
.stats__grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: center; }
.stat { flex: 1; min-width: 140px; }
.stat__num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat__label { font-size: 13.5px; color: rgba(255,255,255,0.85); margin-top: 8px; letter-spacing: 0.02em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.split h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.split p { margin-bottom: 16px; }
.split .btn { margin-top: 12px; }

/* ---------- Areas served ---------- */
.areas__grid { display: flex; flex-wrap: wrap; gap: 12px; }
.areas__grid a {
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); padding: 11px 20px; border-radius: 11px;
  transition: all 0.2s var(--ease);
}
.areas__grid a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-tint); transform: translateY(-2px); }
.areas__grid a.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.areas__grid a.primary:hover { background: var(--teal-deep); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-alt); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 24px 24px 28px; }
.member__name { font-size: 21px; margin-bottom: 3px; }
.member__role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 14px; }
.member__bio { font-size: 14.5px; color: var(--body); margin-bottom: 16px; }
.member__divider { height: 1px; background: var(--line); border: 0; margin: 0 0 14px; }
.member__contact { font-size: 14px; color: var(--body); line-height: 1.85; }
.member__contact .line { display: block; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.t-card .stars { color: #e6a700; letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.t-card p { font-size: 15.5px; color: var(--ink); margin-bottom: 18px; flex: 1; }
.t-card .who { font-weight: 700; color: var(--ink); font-size: 14.5px; display: block; }
.t-card .where { font-size: 13px; color: var(--body); }

/* ---------- CTA band ---------- */
.cta {
  color: #fff; text-align: center;
  background:
    linear-gradient(120deg, rgba(10,40,42,0.92), rgba(13,121,130,0.86)),
    url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 auto 30px; font-size: 19px; }
.cta .hero__actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.contact-info p { margin-bottom: 26px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; font-size: 18px; }
.contact-list .lbl { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.contact-list .val { font-size: 16px; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form label { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); font-weight: 700; margin-bottom: 7px; }
.field { margin-bottom: 20px; }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 15.5px;
  border: 1.5px solid var(--line); border-radius: 11px; background: var(--bg-alt); color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(13,121,130,0.1); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer p { font-size: 14.5px; color: rgba(255,255,255,0.7); margin-bottom: 14px; max-width: 320px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.78); font-size: 14.5px; }
.footer ul a:hover { color: #8fd4d8; }
.footer .brand__name { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; color: #fff; font-size: 15px; transition: all 0.2s var(--ease); }
.socials a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards, .team-grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .sf + .sf { border-left: none; }
  .searchbar .btn { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 20px 26px; gap: 16px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .cards, .team-grid, .t-grid, .footer__grid, .searchbar { grid-template-columns: 1fr; }
  .brand__logo { height: 42px; }
  .hero { padding: 90px 0 90px; }
  .badges__grid { gap: 12px 22px; }
  .badge-sep { display: none; }
}
