*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;color:#333;background:#fff;line-height:1.6}

.container{max-width:1100px;margin:0 auto;padding:0 20px}

.site-header{background:linear-gradient(180deg,#fff 0%, #fbfbff 100%);box-shadow:0 1px 0 rgba(0,0,0,0.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:110px}

.logo{display:flex;align-items:center;text-decoration:none;color:inherit}
.logo-mark{display:inline-flex;margin-right:12px;align-items:center}
.logo-img{width:140px;height:140px;object-fit:contain;display:block}
.logo-text{line-height:1;margin-left:8px}
.brand-top{display:block;font-size:12px;color:#7b3db6;letter-spacing:1px}
.brand-bottom{display:block;font-size:22px;color:#5f2496}

.site-nav ul{display:flex;gap:34px;list-style:none}
.site-nav a{color:#5f2496;text-decoration:none;font-weight:600;padding:6px 0}
.site-nav a:hover{color:#38105b}

.header-actions{display:flex;align-items:center;gap:12px}
.contact-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#000;color:#fff;text-decoration:none}
.contact-icon svg{display:block}

.nav-toggle{display:none;background:transparent;border:0;padding:6px;cursor:pointer}
.nav-toggle span{display:block;width:18px;height:2px;background:#5f2496;margin:3px 0;transition:transform .2s ease,opacity .2s}
.nav-toggle.open span:nth-child(1){transform:translateY(5px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

.header-inner{position:relative}
.site-nav{position:absolute;left:50%;transform:translateX(-50%);} 

@media (max-width:900px){
	.container{max-width:960px}
	.site-nav ul{gap:22px}
}

@media (max-width:700px){
	.header-inner{height:64px}
	.brand-bottom{font-size:16px}
	.brand-top{font-size:11px}
	.logo-img{width:56px;height:56px}
	.site-nav{display:none}
	.header-actions{gap:8px}
	.contact-icon{width:34px;height:34px}
	.nav-toggle{display:none}
}


.hero{
	background-image: url('images/banner cerrajeria.jpeg');
	background-size:cover;
	background-position:left center;
	color:#fff;
	min-height:calc(100vh - 110px);
	display:flex;
	align-items:center;
	position:relative;
}
.hero-inner{padding:56px 20px;position:relative;display:flex;justify-content:flex-start;align-items:center;max-width:1200px;margin:0;padding-left:40px}
.hero-content{max-width:400px;margin-left:0;margin-right:auto;text-align:left}
.hero-top{font-size:20px;color:rgba(255,255,255,0.9);margin-bottom:12px;text-shadow:0 2px 8px rgba(0,0,0,0.6);font-weight:700}
.hero-title{font-size:20px;line-height:1.2;margin:0 0 14px;color:#fff;text-shadow:0 6px 22px rgba(0,0,0,0.6);font-weight:800}
.hero .lead{color:rgba(255,255,255,0.9);margin-bottom:20px;text-shadow:0 2px 8px rgba(0,0,0,0.45);font-size:20px}
.hero-buttons{display:flex;flex-direction:column;gap:16px;margin-top:18px}
.btn{display:inline-flex;align-items:center;gap:14px;padding:14px 20px;border-radius:10px;text-decoration:none;font-weight:700;box-shadow:0 8px 22px rgba(0,0,0,0.25);font-size:20px}
.btn-icon{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,0.08);font-size:16px}
.btn-whatsapp{background:#27B14B;color:#fff}
.btn-call{background:#6C2DA8;color:#fff}

.hero-photo{position:absolute;right:6%;top:50%;transform:translateY(-50%);width:40%;max-width:720px;height:auto;border-radius:6px;box-shadow:0 30px 60px rgba(0,0,0,0.6)}


@media (max-width:900px){
	.hero-title{font-size:20px}
	.hero .lead{font-size:20px}
	.hero-top{font-size:20px}
}

@media (max-width:420px){
	.hero{min-height:calc(100vh - 80px)}
	.hero-title{font-size:20px}
	.hero .lead{font-size:20px}
	.hero-top{font-size:20px}
	.hero-inner{padding:20px}
}

@media (max-width:700px){
	.hero{min-height:calc(100vh - 80px);align-items:flex-start}
	.hero-inner{padding:24px;justify-content:flex-start}
	.hero-content{max-width:100%;margin-left:0}
	.hero-title{font-size:20px}
	.hero-top{font-size:20px}
	.hero .lead{font-size:20px}
	.btn{font-size:20px}
}

@media (max-width:420px){
	.hero-title{font-size:20px}
	.hero-top{font-size:20px}
	.hero .lead{font-size:20px}
	.hero-inner{padding:16px}
	.hero-buttons{gap:12px}
	.btn{padding:10px 12px;font-size:20px}
	.btn-icon{width:26px;height:26px;font-size:14px}
}

.services{padding:56px 0}
.section-title{font-size:22px;text-align:center;margin-bottom:6px;color:#222}
.section-sub{text-align:center;color:#d09b00;margin-bottom:26px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.service-card{background:transparent;border-radius:6px;overflow:visible;box-shadow:none;display:flex;flex-direction:column;height:100%}
.service-media{height:200px;background-size:cover;background-position:center;position:relative;border-radius:6px 6px 0 0;box-shadow:0 6px 18px rgba(0,0,0,0.08);flex-shrink:0}
.contact-overlay{position:absolute;left:50%;transform:translateX(-50%);bottom:-22px;display:inline-block;background:#000;color:#fff;padding:8px 18px;border-radius:22px;text-decoration:none;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,0.25)}
.service-body{background:#6C2DA8;color:#fff;padding:22px 14px 18px;border-radius:0 0 6px 6px;min-height:120px;flex:1;display:flex;flex-direction:column;justify-content:space-between}
.service-body h4{margin-bottom:8px;color:#fff;font-size:18px;font-weight:700;line-height:1.2;min-height:43px;display:flex;align-items:center}
.service-body p{color:rgba(255,255,255,0.9);font-size:14px;margin-bottom:12px;line-height:1.5;min-height:42px;display:flex;align-items:flex-start}
.service-cta{display:none}

@media (max-width:900px){
	.services-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
	.services-grid{grid-template-columns:1fr}
}

.contact{padding:80px 0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:stretch}
.contact-media{background-size:cover;background-position:center;min-height:600px}
.contact-form{display:flex;align-items:center;justify-content:center}
.form-card{background:#fff;padding:24px;border-radius:10px;width:100%;max-width:420px;box-shadow:0 8px 30px rgba(0,0,0,0.08)}
.form-card h3{margin-bottom:12px}
.form-card label{display:block;margin-bottom:10px;font-size:14px}
.form-card input,.form-card textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6e6e6;margin-top:6px}
.form-card textarea{min-height:90px}

.form-card{
	background:#000;
	color:#fff;
	padding:40px;
	border-radius:20px;
	width:100%;
	max-width:480px;
	box-shadow:0 18px 40px rgba(0,0,0,0.45);
}
.form-card h3{color:#f2b400;text-align:center;font-size:22px;margin-bottom:24px;font-weight:800}
.form-card form{display:flex;flex-direction:column;gap:16px}
.form-card input,.form-card textarea{background:#fff;border:0;padding:14px 18px;border-radius:20px;width:100%;outline:none;font-size:16px}
.form-card textarea{min-height:120px;resize:vertical}
.form-submit{background:#fff;color:#000;border:0;padding:14px 18px;border-radius:18px;font-weight:700;cursor:pointer;width:100%;margin-top:8px;font-size:16px}

@media (max-width:900px){
	.contact{padding:60px 0}
	.contact-grid{gap:30px}
	.contact-media{min-height:400px}
	.form-card{max-width:500px;padding:32px}
}
@media (max-width:420px){
	.contact{padding:40px 0}
	.form-card{border-radius:14px;padding:24px}
	.form-card h3{font-size:18px}
}

.why-us{background:#6C2DA8;color:#fff;padding:48px 0}
.why-us .section-title{color:#f2b400;text-align:center;margin-bottom:18px}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;margin-top:30px;align-items:start}
.why-card{background:#fff;border-radius:12px;overflow:visible;box-shadow:0 18px 40px rgba(0,0,0,0.12);display:flex;flex-direction:column;min-height:420px}
.why-media{height:220px;padding:20px;background:transparent}
.why-media img{width:100%;height:100%;object-fit:cover;display:block;border-radius:10px}
.why-body{padding:22px 26px 34px;text-align:center;color:#222;flex:1;display:flex;flex-direction:column;justify-content:flex-start}
.why-body h4{text-transform:uppercase;font-size:18px;margin-bottom:10px;font-weight:800}
.why-body p{font-size:14px;color:#555;line-height:1.5}

.why-grid .why-card:nth-child(1){border-radius:12px 72px 12px 12px}
.why-grid .why-card:nth-child(2){border-radius:12px 12px 72px 12px}
.why-grid .why-card:nth-child(3){border-radius:72px 12px 12px 12px}

.why-card::after{content:'';position:absolute;pointer-events:none;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(0,0,0,0.02)}
.why-cta{text-align:center;margin-top:26px}
.btn-why{display:inline-block;background:#000;color:#f2b400;padding:12px 28px;border-radius:22px;text-decoration:none;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,0.18)}

@media (max-width:900px){
	.why-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
	.why-grid{grid-template-columns:1fr}
	.why-media{height:200px}
}

.about{padding:60px 0 150px 0}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:stretch;position:relative}
.about-media{min-height:400px;border-radius:8px;overflow:hidden}
.about-media img{width:100%;height:100%;object-fit:cover;display:block}
.about-body{padding:20px 0;display:flex;flex-direction:column;justify-content:center}
.about-body h3{color:#f2b400;margin-bottom:12px;font-size:32px;font-weight:800;line-height:1.2}
.about-body h4{color:#f2b400;margin-bottom:16px;font-weight:800;font-size:24px;line-height:1.3}
.about-body p{color:#333;line-height:1.6;margin-bottom:12px;font-size:16px}
.experience-badge{position:absolute;left:50%;bottom:-120px;background:#6C2DA8;color:#fff;padding:24px 40px;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,0.3);display:flex;flex-direction:column;align-items:center;transform:translateX(-50%);z-index:10;text-align:center;min-width:200px}
.experience-badge strong{font-size:48px;font-weight:900;margin-bottom:4px;line-height:1;display:block}
.experience-badge span{font-size:16px;font-weight:700;line-height:1.2;text-align:center;display:block}

@media (max-width:900px){
	.about{padding:50px 0 120px 0}
	.about-grid{grid-template-columns:1fr;gap:30px}
	.about-media{min-height:300px}
	.about-body{padding:0}
	.about-body h3{font-size:28px}
	.about-body h4{font-size:20px}
	.experience-badge{position:relative;left:auto;bottom:auto;margin:40px auto 0;display:flex;flex-direction:column;padding:20px 32px}
	.experience-badge strong{font-size:40px}
	.experience-badge span{font-size:14px}
}
@media (max-width:700px){
	.about{padding:40px 0 80px 0}
	.about-grid{gap:20px;text-align:center}
	.about-media{min-height:250px}
	.about-body{padding:20px 0;text-align:center}
	.about-body h3{font-size:24px;line-height:1.2;text-align:center}
	.about-body h4{font-size:18px;line-height:1.3;text-align:center}
	.about-body p{font-size:15px;line-height:1.5;text-align:center}
	.experience-badge{padding:20px 30px;margin:30px auto 0;min-width:180px;position:relative;left:auto;bottom:auto;transform:none}
	.experience-badge strong{font-size:36px}
	.experience-badge span{font-size:14px}
}

.personalized{padding:80px 0;position:relative;background-image:url('images/12.png');background-size:cover;background-position:center;background-attachment:scroll}
.personalized-inner{position:relative;z-index:2;max-width:1100px;margin:0 auto;padding:0 20px}
.personalized-left{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px;padding:60px 50px;background:rgba(255,255,255,0.9);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,0.1);backdrop-filter:blur(10px);max-width:600px}
.personalized-left h3{font-size:32px;color:#000;margin:0;font-weight:800;line-height:1.2}
.personalized-left p{color:#333;line-height:1.7;font-size:16px;margin-bottom:8px}
.service-cta{display:inline-flex;align-items:center;gap:16px;background:linear-gradient(135deg, #6C2DA8 0%, #5a2596 100%);color:#fff;padding:16px 24px;border-radius:12px;text-decoration:none;font-weight:800;box-shadow:0 8px 25px rgba(108,45,168,0.3);transition:all 0.3s ease}
.service-cta::before{content:'📞';display:inline-flex;width:40px;height:40px;border-radius:50%;align-items:center;justify-content:center;background:rgba(255,255,255,0.2);font-size:18px}
.personalized-right{display:none}

@media (max-width:900px){
	.personalized{padding:60px 0;background-attachment:scroll}
	.personalized-left{padding:40px 30px;max-width:100%}
	.personalized-left h3{font-size:28px}
}
@media (max-width:700px){
	.personalized{padding:40px 0}
	.personalized-left{padding:30px 20px}
	.personalized-left h3{font-size:24px}
	.personalized-left p{font-size:15px}
	.service-cta{padding:14px 20px;gap:12px}
	.service-cta::before{width:36px;height:36px;font-size:16px}
}

.reviews{padding:80px 0;background:#fff}
.reviews .section-sub{color:#f2b400;text-transform:uppercase;letter-spacing:1px;text-align:center;margin-bottom:8px;font-size:14px;font-weight:600}
.reviews .section-title{font-size:36px;text-align:center;margin-top:6px;margin-bottom:20px;color:#000;font-weight:800}
.reviews .rating-summary{text-align:center;margin-bottom:30px}
.reviews .rating-summary .excellent{font-size:24px;font-weight:800;color:#000;margin-bottom:8px}
.reviews .rating-summary .stars{display:inline-block;margin:8px 0}
.reviews .rating-summary .stars span{color:#f2b400;font-size:24px;margin:0 2px}
.reviews .rating-summary .count{font-size:16px;color:#666;margin-bottom:12px}
.reviews .rating-summary .google-logo{display:inline-block;font-size:18px;font-weight:700;color:#4285F4}

.reviews-container{position:relative;max-width:1200px;margin:0 auto;padding:0 20px}
.reviews-carousel{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;padding:20px 0;align-items:stretch}

.review-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 8px 25px rgba(0,0,0,0.08);flex:1;max-width:280px;position:relative;border:1px solid #f0f0f0;display:flex;flex-direction:column;min-height:200px}
.review-card .profile{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.review-card .profile img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.review-card .profile-info{flex:1}
.review-card .profile-name{font-size:16px;font-weight:700;color:#000;margin-bottom:2px}
.review-card .profile-date{font-size:12px;color:#666}
.review-card .rating{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.review-card .rating .stars{color:#f2b400;font-size:16px}
.review-card .rating .verified{color:#4285F4;font-size:14px}
.review-card .review-text{font-size:14px;color:#333;line-height:1.5;margin-bottom:12px;flex:1}
.review-card .google-badge{position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:50%;background:#fff;color:#4285F4;display:flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,0.1);font-size:16px}

.carousel-nav{display:none}

@media (max-width:900px){
	.reviews{padding:60px 0}
	.reviews .section-title{font-size:28px}
	.reviews .rating-summary .excellent{font-size:20px}
	.review-card{max-width:250px;min-height:180px}
}
@media (max-width:700px){
	.reviews{padding:40px 0}
	.reviews .section-title{font-size:24px}
	.reviews .rating-summary .excellent{font-size:18px}
	.reviews .rating-summary .stars span{font-size:20px}
	.review-card{max-width:220px;padding:20px;min-height:160px}
	.review-card .profile img{width:36px;height:36px}
	.review-card .profile-name{font-size:15px}
	.review-card .review-text{font-size:13px}
}

.map-embed{position:relative;left:50%;right:50%;width:100vw;margin-left:-50vw;margin-right:-50vw;max-width:100%;padding:40px 20px;box-sizing:border-box}
.map-embed iframe{width:100%;height:350px;border:0;display:block;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,0.1)}

@media (max-width:900px){
	.map-embed{padding:30px 20px}
	.map-embed iframe{height:300px}
}
@media (max-width:700px){
	.map-embed{padding:20px 12px}
	.map-embed iframe{height:250px;border-radius:8px}
}

.site-footer{background:#5f2496;color:#fff;padding:0;position:relative;margin-top:40px}
.footer-banner{background:#5f2496;padding:40px 0;text-align:center}
.footer-title{font-size:32px;font-weight:800;color:#fff;margin-bottom:20px;text-transform:uppercase}
.footer-cta{display:inline-block;background:#000;color:#f2b400;padding:16px 32px;border-radius:8px;font-weight:800;font-size:18px;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,0.3)}

.footer-info{background:#f5f5f5;padding:30px 0;position:relative}
.footer-contact-grid{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap;margin-bottom:20px}
.footer-contact-item{display:flex;align-items:center;gap:8px;color:#333;font-size:16px}
.footer-contact-item .icon{width:20px;height:20px;fill:#333}
.footer-legal{text-align:center;color:#666;font-size:14px}

.whatsapp-float{position:fixed;right:20px;bottom:20px;background:#25D366;color:#fff;padding:0;border-radius:50%;font-size:0;text-decoration:none;box-shadow:0 8px 25px rgba(37,211,102,0.4);z-index:1000;width:70px;height:70px;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease;border:3px solid #fff}
.whatsapp-float:hover{transform:scale(1.1);box-shadow:0 12px 35px rgba(37,211,102,0.6)}
.whatsapp-float svg{width:35px;height:35px;fill:#fff}

@media (max-width:900px){
	.contact-grid{grid-template-columns:1fr}
	.about-grid{grid-template-columns:1fr}
	.personalized-inner{grid-template-columns:1fr}
	.reviews-list{gap:14px}
	.footer-title{font-size:28px}
	.footer-contact-grid{gap:20px}
	.footer-contact-item{font-size:14px}
}
@media (max-width:700px){
	.footer-banner{padding:30px 0}
	.footer-title{font-size:24px}
	.footer-cta{padding:12px 24px;font-size:16px}
	.footer-contact-grid{flex-direction:column;gap:15px}
	.footer-info{padding:20px 0}
	.footer-contact-item{font-size:14px}
	.footer-legal{font-size:12px}
	.whatsapp-float{width:60px;height:60px;right:15px;bottom:15px;border:2px solid #fff}
	.whatsapp-float svg{width:30px;height:30px}
}

.btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,0.3)}
.contact-overlay:hover{background:#333;transform:translateX(-50%) translateY(-2px)}
.form-submit:hover{background:#f0f0f0;color:#000}
.btn-why:hover{background:#333;color:#fff}
.service-cta:hover{background:#5a2596;transform:translateY(-2px)}

*{transition:all 0.3s ease}
.site-nav a, .contact-icon, .whatsapp-float{transition:all 0.2s ease}

@media (prefers-reduced-motion: reduce) {
	*{transition:none}
	.btn:hover{transform:none}
	.contact-overlay:hover{transform:translateX(-50%)}
	.service-cta:hover{transform:none}
}
