/* ===== Variables ===== */
:root {
  --primary: #0052CC;
  --dark-blue: #1F4788;
  --navy: #0A1A3A;
  --accent: #2196F3;
  --accent-light: #64B5F6;
  --light-bg: #F0F4F8;
  --text-dark: #1A2332;
  --text-light: #5A6A7A;
  --white: #FFFFFF;
  --divider: #D0D8E0;
  --footer-bg: #1A1A2E;
  --whatsapp: #25D366;
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text-dark); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 80px; }
@media (max-width: 800px) { .container { padding: 0 24px; } }

/* ===== Top Bar ===== */
.top-bar { background: var(--navy); padding: 6px 24px; }
.top-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; padding: 0 24px; }
.top-bar a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); font-size: 12.5px; font-weight: 500; letter-spacing: 0.3px; transition: var(--transition); }
.top-bar a:hover { color: var(--accent-light); }
.top-bar .material-symbols-outlined { font-size: 13px; color: var(--accent-light); }

/* ===== Navbar ===== */
.navbar { background: var(--white); box-shadow: 0 2px 4px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo .material-symbols-outlined { font-size: 28px; color: var(--primary); }
.logo span { font-size: 15px; font-weight: 700; color: var(--dark-blue); line-height: 1.2; }
.logo small { font-size: 11px; font-weight: 500; color: var(--text-light); display: block; }

.nav-menu { display: flex; gap: 0; margin-left: auto; }
.nav-menu a { padding: 8px 16px; font-size: 15px; font-weight: 500; color: var(--text-dark); transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }

.cta-btn { margin-left: 16px; padding: 10px 20px; background: var(--primary); color: var(--white); font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.cta-btn:hover { background: var(--dark-blue); transform: translateY(-2px); }

.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 8px; gap: 5px; background: none; border: none; }
.hamburger span { width: 25px; height: 3px; background: var(--text-dark); transition: var(--transition); border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-cta { display: none; padding: 8px; background: var(--primary); border-radius: var(--radius); border: none; cursor: pointer; }
.mobile-cta .material-symbols-outlined { color: var(--white); font-size: 18px; }

@media (max-width: 800px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 24px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--light-bg); }
  .cta-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-cta { display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: 4px; }
}

/* ===== Hero ===== */
.hero { position: relative; height: 520px; overflow: hidden; }
.hero-carousel { position: absolute; inset: 0; display: flex; transition: transform 0.6s ease-in-out; }
.hero-carousel img { min-width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 40px 80px; }
.hero-brand { font-size: 18px; font-weight: 600; color: var(--accent-light); letter-spacing: 1.5px; margin-bottom: 10px; }
.hero h1 { font-size: 48px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,0.9); margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 32px; }
.hero-buttons .btn-primary { padding: 16px 32px; background: var(--primary); color: var(--white); font-size: 16px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.hero-buttons .btn-primary:hover { background: var(--dark-blue); }
.hero-buttons .btn-secondary { padding: 16px 32px; background: transparent; color: var(--white); font-size: 16px; font-weight: 600; border: 2px solid var(--white); border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.hero-buttons .btn-secondary:hover { background: rgba(255,255,255,0.15); }

.hero-dots { display: flex; gap: 8px; }
.hero-dots button { border: none; height: 10px; border-radius: 5px; cursor: pointer; transition: var(--transition); }
.hero-dots button.active { width: 32px; background: var(--white); }
.hero-dots button:not(.active) { width: 10px; background: rgba(255,255,255,0.5); }

@media (max-width: 800px) {
  .hero { height: 400px; }
  .hero-content { padding: 40px 24px; }
  .hero-brand { font-size: 14px; }
  .hero h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .hero-buttons { flex-wrap: wrap; }
}

/* ===== Section Common ===== */
.section-title { font-weight: 700; color: var(--dark-blue); text-align: center; }
.section-line { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: 8px auto 40px; }
.section-line.green { background: #4CAF50; }

/* ===== Services ===== */
.services { background: var(--light-bg); padding: 64px 0; }
.services .section-title { font-size: 36px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: var(--transition); cursor: default; }
.service-card:hover { box-shadow: 0 8px 16px rgba(0,0,0,0.15); transform: translateY(-4px); }
.service-card img { width: 100%; height: 180px; object-fit: cover; }
.service-card-content { padding: 16px; }
.service-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.service-card-header .material-symbols-outlined { font-size: 24px; color: var(--primary); }
.service-card-header h3 { font-size: 16px; font-weight: 700; color: var(--dark-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

@media (max-width: 800px) {
  .services .section-title { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 501px) and (max-width: 800px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ISU Badge ===== */
.isu-badge { background: linear-gradient(to right, var(--dark-blue), var(--navy)); padding: 48px 0; }
.isu-badge .container { display: flex; align-items: center; gap: 32px; }
.isu-logo-box { width: 90px; height: 90px; background: var(--white); border-radius: var(--radius-xl); padding: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.isu-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.isu-content { flex: 1; }
.isu-content h2 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.isu-content p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.isu-badges { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.isu-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; }
.isu-chip .material-symbols-outlined { font-size: 20px; color: var(--accent-light); }
.isu-chip span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.3; }

@media (max-width: 800px) {
  .isu-badge { padding: 36px 0; }
  .isu-badge .container { flex-direction: column; text-align: center; }
  .isu-logo-box { width: 72px; height: 72px; border-radius: 14px; padding: 8px; }
  .isu-badges { flex-direction: row; justify-content: center; }
}

/* ===== Why Us ===== */
.why-us { background: var(--dark-blue); padding: 64px 0; }
.why-us .section-title { font-size: 36px; color: var(--white); }
.why-us .section-line { background: var(--accent-light); margin-bottom: 48px; }
.why-us-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.why-us-item { width: 240px; text-align: center; }
.why-us-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why-us-icon .material-symbols-outlined { font-size: 36px; color: var(--accent-light); }
.why-us-item h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-us-item p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.4; }

@media (max-width: 800px) {
  .why-us .section-title { font-size: 28px; }
  .why-us-item { width: 42%; }
}

/* ===== About ===== */
.about { background: var(--white); padding: 64px 0; }
.about .container { display: flex; align-items: center; gap: 48px; }
.about-image { flex: 1; border-radius: var(--radius-xl); overflow: hidden; }
.about-image img { width: 100%; height: 360px; object-fit: cover; }
.about-content { flex: 1; }
.about-content .section-title { text-align: left; font-size: 36px; }
.about-content .section-line { margin: 8px 0 24px; }
.about-content > p { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.stats-row { display: flex; gap: 24px; }
.stat-box { text-align: center; }
.stat-box .value { font-size: 28px; font-weight: 700; color: var(--primary); }
.stat-box .label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

@media (max-width: 800px) {
  .about .container { flex-direction: column; }
  .about-image img { height: 220px; }
  .about-content .section-title { font-size: 28px; }
}

/* ===== Gallery ===== */
.gallery { background: var(--light-bg); padding: 64px 0; }
.gallery .section-title { font-size: 36px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; aspect-ratio: 1.3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%); opacity: 0.5; transition: opacity 0.3s ease; }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .caption { position: absolute; bottom: 12px; left: 12px; color: var(--white); font-size: 14px; font-weight: 600; }

@media (max-width: 800px) {
  .gallery .section-title { font-size: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Lightbox ===== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; flex-direction: column; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox .caption { color: var(--white); font-size: 16px; margin-top: 16px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; }
.lightbox-close .material-symbols-outlined { font-size: 32px; color: var(--white); }

/* ===== Contact ===== */
.contact { background: var(--white); padding: 64px 0; }
.contact .section-title { font-size: 36px; }
.contact-layout { display: flex; gap: 48px; margin-top: 40px; }
.contact-form { flex: 3; }
.contact-info { flex: 2; }
.contact-info-centered { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.contact-info-centered .whatsapp-btn { grid-column: 1 / -1; }

.form-group { margin-bottom: 16px; position: relative; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 12px 12px 44px; border: 1px solid var(--divider); border-radius: var(--radius); background: var(--light-bg); font-size: 15px; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); border-width: 2px; }
.form-group .material-symbols-outlined { position: absolute; left: 12px; top: 38px; font-size: 20px; color: var(--primary); }
.form-group textarea { min-height: 120px; resize: vertical; }

.submit-btn { width: 100%; padding: 16px; background: var(--primary); color: var(--white); font-size: 16px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.submit-btn:hover { background: var(--dark-blue); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.contact-tile { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; cursor: pointer; }
.contact-tile .icon-box { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,82,204,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-tile .icon-box .material-symbols-outlined { font-size: 24px; color: var(--primary); }
.contact-tile h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.contact-tile p { font-size: 14px; color: var(--text-light); }

.whatsapp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: var(--whatsapp); color: var(--white); font-size: 15px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); margin-top: 32px; }
.whatsapp-btn:hover { filter: brightness(0.9); }
.whatsapp-btn .material-symbols-outlined { font-size: 20px; }

.form-message { padding: 12px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; display: none; }
.form-message.success { display: block; background: #E8F5E9; color: #2E7D32; }
.form-message.error { display: block; background: #FFEBEE; color: #C62828; }

@media (max-width: 800px) {
  .contact .section-title { font-size: 28px; }
  .contact-layout { flex-direction: column; }
  .contact-info-centered { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer { background: var(--footer-bg); padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo .material-symbols-outlined { color: var(--white); }
.footer-brand .logo span { color: var(--white); font-size: 20px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }

.footer-col h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-col a, .footer-col li { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-light); }

.footer-contact-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-contact-row .material-symbols-outlined { font-size: 18px; color: var(--accent-light); }
.footer-contact-row span { font-size: 14px; color: rgba(255,255,255,0.7); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.24); margin-top: 32px; padding-top: 16px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

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

/* ===== Toast/Snackbar ===== */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 14px 28px; border-radius: var(--radius); color: var(--white); font-size: 14px; font-weight: 500; z-index: 300; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.toast.show { opacity: 1; }
.toast.success { background: #4CAF50; }
.toast.error { background: #F44336; }

/* ===== Form Consent ===== */
.form-consent { margin: 12px 0 8px; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); cursor: pointer; line-height: 1.4; }
.consent-label input[type="checkbox"] { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.privacy-link { color: var(--primary); text-decoration: underline; }
.form-notice { font-size: 12px; color: var(--text-light); margin: 4px 0 12px; opacity: 0.8; }

/* ===== Privacy Policy ===== */
.privacy-policy { padding: 60px 0; background: var(--light-bg); }
.privacy-content { max-width: 800px; margin: 24px auto 0; }
.privacy-content h3 { font-size: 18px; color: var(--text-dark); margin: 24px 0 8px; font-weight: 600; }
.privacy-content p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 8px; }
.privacy-content ul { padding-left: 20px; margin-bottom: 12px; }
.privacy-content li { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 4px; }
.privacy-content a { color: var(--primary); }
.privacy-update { font-size: 12px; color: var(--text-light); opacity: 0.7; margin-top: 24px; font-style: italic; }
.footer-privacy-link { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-privacy-link:hover { color: rgba(255,255,255,0.9); }

/* ===== Cookie Banner ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: white; padding: 16px 20px; z-index: 500; transform: translateY(100%); transition: transform 0.3s ease; }
.cookie-banner.show { transform: translateY(0); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-content p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; flex: 1; margin: 0; }
.cookie-content a { color: var(--accent-light); text-decoration: underline; }
.cookie-accept { background: var(--primary); color: white; border: none; padding: 10px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.cookie-accept:hover { background: var(--dark-blue); }

@media (max-width: 800px) {
  .cookie-content { flex-direction: column; text-align: center; }
}
