/* =========================================================
   1. RESET & BASE
========================================================= */

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

/* HTML */
html {
  scroll-behavior: smooth;
}

/* BODY BASE */
body {
  min-height: 100vh;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;

  color: var(--text, #1F2D2A);
  background: var(--bg, #F4F8F6);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   1. RESET & BASE END
========================================================= */


/* =========================================================
   2. VARIABLES
========================================================= */

:root {

  /* ===== PRIMARY BRAND ===== */
  --primary: #1F464B;
  --primary-dark: #16363A;
  --primary-light: #2A5C62;

  /* ===== ACCENT ===== */
  --accent: #6FB3A8;
  --accent-light: #A7D7C5;

  /* ===== CTA ===== */
  --cta: #25D366;
  --cta-hover: #1DA851;

  /* ===== BACKGROUND ===== */
  --bg: #F4F8F6;
  --white: #FFFFFF;

  /* ===== TEXT ===== */
  --text: #1F2D2A;
  --text-muted: #5F7A75;

  /* ===== UI ===== */
  --card-bg: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);

  /* ===== EFFECTS ===== */
  --radius: 12px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --transition: all 0.2s ease;

  /* ===== LAYOUT ===== */
  --container: 1140px;
}

/* =========================================================
   VARIABLES END
========================================================= */


/* =========================================================
   3. TYPOGRAPHY
========================================================= */

/* BODY BASE */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: #1f3d3a;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* PARAGRAPH */
p {
  margin-bottom: 12px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* CONTROLLED TEXT WIDTH */
.text-content {
  max-width: 700px;
}

/* SMALL TEXT */
small {
  font-size: 14px;
  color: #777;
}

/* LINKS */
a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.2s ease;
}

a:hover {
  color: #388e3c;
}

a:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

/* STRONG */
strong {
  font-weight: 600;
}

/* LISTS */
ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* SECTION TITLES */
.section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

/* MUTED TEXT */
.text-muted {
  color: #777;
}

/* TEXT ALIGNMENT */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* =========================================================
  3. TYPOGRAPHY END
========================================================= */


/* =========================================================
   4. LAYOUT SYSTEM
========================================================= */

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 20px;
}

/* SECTIONS */
section {
  padding: 60px 0;
}

/* =========================================================
   4. LAYOUT END
========================================================= */


/* =========================================================
   5. UTILITIES
========================================================= */

/* ===== SPACING SYSTEM (SECTION CONTROL) ===== */
.section-sm { padding: 40px 0; }
.section-md { padding: 60px 0; }
.section-lg { padding: 80px 0; }

/* ===== MARGIN HELPERS ===== */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* ===== TEXT ALIGNMENT ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== FLEX SYSTEM ===== */
.flex { display: flex; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* ===== GRID SYSTEM ===== */
.grid {
  display: grid;
  gap: 24px;
}

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

/* ===== GAP HELPERS ===== */
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* ===== WIDTH CONTROL ===== */
.w-100 { width: 100%; }

.max-600,
.max-700,
.max-800 {
  margin-inline: auto;
}

.max-600 { max-width: 600px; }
.max-700 { max-width: 700px; }
.max-800 { max-width: 800px; }

/* ===== DISPLAY HELPERS ===== */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* ===== POSITION HELPERS ===== */
.relative { position: relative; }
.absolute { position: absolute; }

/* ===== IMAGE CONTROL ===== */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== BORDER RADIUS ===== */
.radius {
  border-radius: var(--radius);
}

/* =========================================================
   UTILITIES END
========================================================= */

/* =========================================
6. COMPONENTS (buttons, cards, forms)
========================================= */

/* ===== PRIMARY BUTTON ===== */
.wm-btn {
display: inline-block;
background: var(--cta);
color: var(--white);
padding: 12px 22px;
border-radius: var(--radius);
font-weight: 600;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}
.wm-btn:hover {
background: var(--cta-hover);
transform: translateY(-2px);
box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}
.wm-btn:active { transform: scale(0.96); }
.wm-btn:focus {
outline: 2px solid var(--cta);
outline-offset: 2px;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
display: inline-block;
background: linear-gradient(135deg, #FF8A4C, #F47C3C);
color: #fff;
padding: 14px 26px;
border-radius: 12px;
border: none;
font-weight: 600;
text-align: center;
cursor: pointer;
box-shadow: 0 8px 20px rgba(0,0,0,0.18);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-btn:hover {
transform: translateY(-3px);
box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}
.cta-btn:active { transform: scale(0.95); }

/* ===== FLOATING CONTACT ===== */
.floating-contact {
position: fixed;
right: 18px;
bottom: 30px;
display: flex;
flex-direction: column;
gap: 16px;
z-index: 9999;
opacity: 0;
transform: translateY(24px);
transition: all 0.4s ease;
will-change: transform, opacity;
}
.floating-contact.show {
opacity: 1;
transform: translateY(0);
}

/* ===== FLOAT BUTTON ===== */
.float-btn {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
color: #fff;
box-shadow:
0 10px 28px rgba(0,0,0,0.25),
0 2px 6px rgba(0,0,0,0.15);
transition: transform 0.25s ease, box-shadow 0.25s ease;
overflow: hidden;
position: relative;
}
.float-btn svg {
display: block;
margin: auto;
}
.float-btn.whatsapp svg { width: 30px; height: 30px; }
.float-btn.call svg { width: 24px; height: 24px; }
.float-btn.whatsapp svg path {
transform: scale(1.25);
transform-origin: center;
}
.float-btn.whatsapp {
background: linear-gradient(135deg, #25D366, #1ebe5d);
}
.float-btn.whatsapp::after {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
pointer-events: none;
}
.float-btn.call { background: var(--primary); }
.float-btn:hover {
transform: translateY(-5px) scale(1.08);
box-shadow:
0 16px 34px rgba(0,0,0,0.35),
0 4px 10px rgba(0,0,0,0.2);
}
.float-btn:active { transform: scale(0.9); }
.float-btn:focus {
outline: 2px solid var(--primary);
outline-offset: 3px;
}

/* ===== PAGE EXCLUSION ===== */
body.contact-page .floating-contact,
body.consultation-page .floating-contact {
display: none;
}

/* ===== CARD ===== */
.card {
background: var(--white);
padding: 20px;
border-radius: var(--radius);
box-shadow: var(--shadow-soft);
}

/* ===== CTA GLOBAL SYSTEM ===== */
.wm-btn {
display: inline-block;
width: auto;
padding: 16px 24px;
font-size: 18px;
font-weight: 600;
letter-spacing: 0.3px;
text-align: center;
border-radius: var(--radius);
border: none;
cursor: pointer;
background: var(--primary);
color: #fff;
transition: all 0.2s ease;
}
.wm-btn.w-100 { width: 100%; }
.wm-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.wm-btn:active {
transform: scale(0.97);
background: #ff7a18;
}
.wm-btn:disabled {
background: #ccc;
cursor: not-allowed;
opacity: 0.7;
}
.btn-subtext {
display: block;
font-size: 14px;
font-weight: 400;
margin-top: 4px;
}
.wm-btn.whatsapp { background: #25D366; }

/* =========================================
7. HEADER
========================================= */

.wm-header { background: var(--primary); padding: 14px 0; position: sticky; top: 0; width: 100%; z-index: 1000; }
.wm-header .wm-container { display: flex; align-items: center; justify-content: space-between; }

.wm-logo { display: flex; align-items: center; }
.wm-logo img { height: 52px; display: block; }

.wm-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }

.wm-nav > a,
.nav-toggle {
display: flex;
align-items: center;
height: 48px;
color: #fff;
font-size: 14px;
font-weight: 500;
text-decoration: none;
background: transparent;
border: none;
cursor: pointer;
}

.wm-nav a::after,
.nav-toggle::after {
content: "";
position: absolute;
bottom: -6px;
left: 0;
width: 0%;
height: 2px;
background: var(--accent);
transition: 0.3s ease;
}

.wm-nav a:hover::after,
.nav-toggle:hover::after { width: 100%; }

.wm-dropdown { position: relative; }

.wm-dropdown-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%) translateY(10px);
background: var(--primary-dark);
border-radius: var(--radius);
box-shadow: var(--shadow-soft);
min-width: 180px;
padding: 10px 0;
opacity: 0;
pointer-events: none;
transition: 0.25s ease;
z-index: 1100;
}

.wm-dropdown:hover .wm-dropdown-menu,
.wm-dropdown:focus-within .wm-dropdown-menu {
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}

.wm-dropdown-menu a {
display: block;
padding: 12px 18px;
color: #fff;
text-decoration: none;
}
.wm-dropdown-menu a:hover { background: rgba(255,255,255,0.1); }

.wm-menu-toggle {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 5px;
width: 36px;
height: 30px;
background: transparent;
border: none;
cursor: pointer;
position: relative;
z-index: 1200;
}

.wm-menu-toggle span {
width: 26px;
height: 3px;
background: #fff;
border-radius: 3px;
transition: 0.3s ease;
}

.menu-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.4);
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
z-index: 1000;
}
.menu-overlay.active {
opacity: 1;
pointer-events: auto;
}

.mobile-menu {
position: fixed;
top: 0;
left: 0;
width: 85%;
max-width: 320px;
height: 100vh;
background: var(--primary);
color: #fff;
transform: translateX(-100%);
transition: transform 0.3s ease;
z-index: 1100;
padding: 20px;
overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu a,
.menu-item {
display: block;
padding: 16px 0;
color: #fff;
text-decoration: none;
border-bottom: 1px solid rgba(255,255,255,0.2);
background: transparent;
border: none;
cursor: pointer;
}

.submenu {
display: none;
padding-left: 12px;
background: rgba(255,255,255,0.05);
}
.submenu.open { display: block; }

body.menu-open { overflow: hidden; }

.menu-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
margin-bottom: 20px;
border-bottom: 1px solid rgba(255,255,255,0.1);
gap: 12px;
}

.menu-header span {
flex: 1;
font-size: 18px;
font-weight: 600;
}

.menu-close-btn {
flex-shrink: 0;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
color: #fff;
background: transparent;
border: none;
cursor: pointer;
border-radius: 6px;
transition: background 0.2s ease;
}
.menu-close-btn:hover { background: rgba(255,255,255,0.1); }

.mobile-menu {
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
8. FOOTER
========================================= */

.wm-footer { background: linear-gradient(180deg, var(--primary-dark), #162c27); color: #ffffff; padding: 60px 16px 20px; font-size: 14px; }

.wm-footer .wm-container { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.wm-footer-col { flex: 1; min-width: 220px; }

.wm-footer-logo img { height: auto; max-height: 60px; display: block; margin-bottom: 10px; }

.wm-footer-col p { margin-top: 10px; color: rgba(255,255,255,0.85); line-height: 1.6; }

.wm-footer-col h4 { font-size: 16px; margin-bottom: 12px; cursor: pointer; position: relative; }

.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: rgba(255,255,255,0.85); text-decoration: none; transition: 0.2s ease; }
.footer-menu a:hover { color: #ffffff; padding-left: 5px; }

.footer-contact span,
.footer-contact a {
display: block;
margin-bottom: 6px;
color: rgba(255,255,255,0.85);
text-decoration: none;
}

.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social img {
width: 22px;
height: 22px;
opacity: 0.9;
transition: 0.2s ease;
}
.footer-social img:hover {
opacity: 1;
transform: scale(1.1);
}

.wm-footer-cta { text-align: center; margin-top: 40px; }

.footer-cta-btn {
display: inline-block;
background: linear-gradient(135deg, #FF8A4C, #F47C3C);
color: #ffffff;
padding: 14px 28px;
border-radius: 8px;
font-weight: 600;
text-align: center;
min-width: 240px;
transition: 0.2s ease;
}
.footer-cta-btn:hover { transform: translateY(-2px); }

.wm-footer-bottom {
text-align: center;
margin-top: 30px;
font-size: 13px;
color: rgba(255,255,255,0.6);
}

.wm-footer-col .footer-menu { display: block; }

/* =========================================
9. GLOBAL SECTIONS
========================================= */

.hero-banner {
display: block;
width: 100%;
text-decoration: none;
}
.hero-img {
width: 100%;
height: auto;
display: block;
}

/* =========================================
10. RESPONSIVE
========================================= */

@media (max-width: 1024px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

@media (max-width: 480px) {
.floating-contact { right: 14px; bottom: 28px; gap: 18px; }
.float-btn { width: 54px; height: 54px; }
.float-btn.whatsapp svg { width: 26px; height: 26px; }
.float-btn.call svg { width: 20px; height: 20px; }
}

@media (min-width: 768px) {
.float-btn.call { display: none; }
}

@media (max-width: 768px) {
.section-md { padding: 40px 0; }
.section-lg { padding: 60px 0; }
}

@media (max-width: 992px) {
.grid-3,
.grid-4 {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
.grid-2,
.grid-3,
.grid-4 {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.wm-nav { display: none; }
.wm-menu-toggle { display: flex; }
.wm-logo img { height: auto; max-height: 72px; }
}

@media (max-width: 768px) {

.wm-footer-logo img { max-height: 48px; }

.wm-footer .wm-container {
flex-direction: column;
gap: 20px;
}

.wm-footer-col .footer-menu { display: none; }
.wm-footer-col.active .footer-menu { display: block; }

.footer-cta-btn { width: 100%; }

.wm-footer-col h4 {
padding: 10px 0;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
}


