:root {
    --teal: #008080;
    --dark-teal: #004d4d;
    --bronze: #cd7f32;
    --dark: #222;
    --white: #fff;
    --grey: #f4f4f4;
    
    --font-head: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
.ist-header { padding: 25px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; color: var(--dark); }
.logo .teal { color: var(--teal); }

.ist-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.ist-nav a { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 600; color: var(--dark); }
.ist-nav a:hover, .ist-nav a.active { color: var(--teal); }

.btn-teal { background-color: var(--teal); color: var(--white) !important; padding: 10px 25px; border-radius: 0; transition: 0.3s; }
.btn-teal:hover { background-color: var(--dark-teal); }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--teal); }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--white); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 30px; right: 30px; border: none; background: none; font-size: 2rem; cursor: pointer; }
.mobile-menu a { font-size: 1.5rem; margin-bottom: 20px; font-weight: 300; }

/* Hero */
.hero-ist {
    height: 650px; background-size: cover; background-position: center; position: relative;
}
.hero-gradient {
    width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex; align-items: center;
}
.hero-content { padding-left: 10%; max-width: 700px; color: var(--white); }
.location-tag { font-size: 0.8rem; letter-spacing: 3px; color: var(--teal); background: rgba(255,255,255,0.1); padding: 5px 10px; display: inline-block; margin-bottom: 20px; backdrop-filter: blur(5px); }
.hero-content h1 { font-family: var(--font-body); font-weight: 700; font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; font-weight: 300; margin-bottom: 40px; color: #ddd; }

.hero-links a { margin-right: 20px; font-weight: 600; }
.btn-primary { background-color: var(--white); color: var(--teal); padding: 15px 30px; display: inline-block; }
.btn-primary:hover { background-color: var(--teal); color: var(--white); }
.btn-text { color: var(--white); border-bottom: 1px solid var(--white); padding-bottom: 5px; }

/* Services */
.section-padding { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--teal); margin-bottom: 15px; }
.line-teal { width: 60px; height: 3px; background-color: var(--bronze); }

.services-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-box { border-top: 1px solid #ddd; padding-top: 20px; transition: 0.3s; }
.service-box:hover { border-top-color: var(--teal); transform: translateY(-10px); }
.num { font-size: 2rem; color: #eee; font-weight: 700; margin-bottom: 10px; }
.service-box h3 { font-size: 1.5rem; margin-bottom: 10px; font-family: var(--font-head); }
.service-box p { color: #666; font-weight: 300; }

/* About */
.page-banner { background-color: var(--grey); padding: 80px 0; text-align: center; }
.page-banner h1 { font-family: var(--font-head); color: var(--teal); font-size: 3rem; }

.about-modern { display: flex; gap: 60px; align-items: center; }
.text-part { flex: 1; }
.text-part h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
.stats-row { display: flex; gap: 40px; margin-top: 40px; border-top: 1px solid #ddd; padding-top: 30px; }
.stat strong { display: block; font-size: 2.5rem; color: var(--bronze); font-family: var(--font-head); }
.image-part { flex: 1; }
.image-part img { width: 100%; }

/* Testimonials */
.testimonials-modern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.t-card { background: var(--grey); padding: 40px; position: relative; }
.t-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.initials { background: var(--teal); color: var(--white); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-weight: bold; border-radius: 50%; }
.stars { color: var(--bronze); }
.t-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.t-author { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Contact Form */
.contact-split { display: flex; gap: 0; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,0.05); }
.info-panel { flex: 1; background-color: var(--teal); color: var(--white); padding: 60px; }
.info-panel h2 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 20px; }
.info-row { margin-top: 30px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; }
.info-row strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; opacity: 0.8; }

.modern-form { flex: 1.5; padding: 60px; }
.input-line { margin-bottom: 20px; }
.input-line input, .input-line select, .input-line textarea { width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid #ddd; font-family: var(--font-body); font-size: 1rem; transition: 0.3s; }
.input-line input:focus, .input-line select:focus, .input-line textarea:focus { border-bottom-color: var(--teal); outline: none; }
.submit-btn { background-color: var(--dark); color: var(--white); border: none; padding: 15px 40px; font-weight: bold; cursor: pointer; letter-spacing: 2px; text-transform: uppercase; margin-top: 20px; transition: 0.3s; }
.submit-btn:hover { background-color: var(--teal); }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; }
.legal-doc h1 { font-family: var(--font-head); color: var(--teal); }
.legal-doc h3 { margin-top: 30px; margin-bottom: 10px; color: var(--bronze); }

/* Footer */
.ist-footer { background-color: var(--dark); color: #fff; padding: 60px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.f-brand { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 2px; }
.f-menu a { color: #aaa; margin-left: 20px; font-size: 0.9rem; }
.f-menu a:hover { color: var(--teal); }
.f-copy { color: #555; font-size: 0.8rem; margin-top: 20px; width: 100%; text-align: right; }

@media (max-width: 900px) {
    .ist-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .services-row, .about-modern, .testimonials-modern, .contact-split { grid-template-columns: 1fr; flex-direction: column; }
    .footer-grid { flex-direction: column; gap: 20px; text-align: center; }
    .f-copy { text-align: center; }
}